42ity / fty-sensor-gpio

Agent to manage GPIO sensors and devices
Other
0 stars 9 forks source link

Problem: Various cppcheck issues #8

Closed aquette closed 7 years ago

aquette commented 7 years ago

Problem: cppcheck reports warning on nullPointer Solution: Fix it

Problem: cppcheck reports style on variableScope Solution: Reduce scope of oldstr and oldstr_len

Problem: cppcheck reports performance on redundantAssignment Solution: Please cppcheck with another assert()

Signed-off-by: Arnaud Quette ArnaudQuette@Eaton.com

aquette commented 7 years ago

exception to the C4: self merging for pushing urgent fix on privileges...