gtk-jbuhler-980310-0.patch
This patch applies to gtk+-0.99.5 .
The included patch fixes an uninitialized variable use in gtktext.c
and silences several harmless but annoying compiler warnings about
unused variables (all used only for debugging purposes, now properly
#ifdef'd) and one bogus complaint about an uninitialized variable in
testgtk.c. With these patches, gtk+ 0.99.5 compiles cleanly with
-Wall using gcc 2.8.1.
I suggest that someone more familiar with the gtk code have a
look at the warnings produced when compiling with gcc -W (maximum lint
mode). Aside from the inevitable unused parameter warnings, there are
several tests which always succeed or fail because they test
"<unsigned variable> >= or < 0". At best, the tests are
unnecessary; at worst, they may indicate some invalid beliefs about
the code that could lead to bugs.
Jeremy Buhler
[email protected]