d431dc fix programming mistakes detected by static analysis

Authored and Committed by Kamil Dudka 6 years ago
    fix programming mistakes detected by static analysis
    
        
file modified
+7 -1