[CLN-list] [cppcheck] Member variable 'gcd_result::gcd_degree' is not initialised in the constructor.

Martin Ettl ettl.martin78 at googlemail.com
Sat Jan 22 15:28:45 CET 2011


Hi,

during a check with the static code analysis tool cppcheck of the current
git head of cln, the tool discoverd a not initialized member variable of
class gcd_result::gcd_degree.

Please refer the attached patch that fixes the issue.

Best regards from the cppcheck team

Ettl Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20110122/a1325a16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cppcheck_member_init.patch
Type: text/x-diff
Size: 655 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20110122/a1325a16/attachment.bin>


More information about the CLN-list mailing list