d431dc fix programming mistakes detected by static analysis

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