[Geany-devel] RFC: uninitialized variable in theoretical execution path.
daniel.marjamaki at xxxxx
Sun Aug 7 14:58:17 UTC 2011
>> I wrote a simple Cppcheck plugin that searches for "uninitialized
>> variable" in "theoretical execution paths". It will assume that all
>> conditions can always be both true/false.
> Interesting, can it be found somewhere?
I plan to make it available online. But it's not ready yet. It should
at least handle switch and va_start first.
Right now it contains many bailouts to reduce noise. And I just wrote
"FIXME" as comments. I at least plan to fix those before I make it
Thanks a lot for reviewing those reports. Sorry about the trouble - I
was hoping there would be more genuine problems.
More information about the Devel