cppcheck bugs

2010-04-19 Thread Martin Ettl
Hello, you ever run a static code analysis tool on cygwin sources. I have done that! I used cppcheck (http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page) and got the following SEVERE warning messages: [fgetws.c:137]: (Error) Array index -1 corresponds with 4294967295, whi

cppcheck bugs

2010-04-19 Thread Martin Ettl
Hello, you ever run a static code analysis tool on cygwin sources. I have done that! I used cppcheck (http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page) and got the following SEVERE warning messages: [fgetws.c:137]: (Error) Array index -1 corresponds with 4294967295, whi