Some strange places in source code
shlyakpavel opened this issue · 0 comments
shlyakpavel commented
Expression setting_id >= 0 is always true
Line 1303 in 0c07191
Loops will probably never be executed on these lines
Line 62 in 0c07191
Line 65 in 0c07191
Line 73 in 0c07191
Line 74 in 0c07191
Line 82 in 0c07191
Line 105 in 0c07191
I really wonder if it is an expected behavior or not. Consider reviewing these places.
You also generally do not check pointers returned by malloc. Why?