22 Dec 2010 13:06
[PATCH 00/14] Code cleanups
These patches fix all the warnings from gcc with -Wall and (the meaningful ones) from cppcheck in the libyelp directory. (Except for yelp-man-parser, but I've posted a separate patchset which deals with that). Frankly, you may not wish to apply fourteen teensy patches. So I've bundled the lot together into one larger patch which I'm also sending to the list - use either! Rupert Swarbrick (14): Fix missing return value. Unused variable. Fix missing return values and typecast. Missing return values. Add typecasts and a header we use. Unused variable. Remove unused variables. Lots of typecasts and some unused variables. Missing return values. Unused variables. Unused variable. Remove unused variables and undefined functions! Fix missing return type and incorrect test (= not ==). Fix memory leaks found by cppcheck. libyelp/yelp-bookmarks.c | 2 +- libyelp/yelp-bz2-decompressor.c | 1 - libyelp/yelp-docbook-document.c | 6 +++- libyelp/yelp-document.c | 13 ++++++---- libyelp/yelp-document.h | 2 +-(Continue reading)
RSS Feed