[Tracker] Errors reported when building today's CVS



Hello all

I've investigated a bunch of errors reported when compiling just now:

chckfile.c: In function 'filexist':
chckfile.c:25: warning: unused variable 'overwrite'
chckfile.c:24: warning: unused variable 'fileptr'
src/text-filters/html_converter/chckfile.c
filexist (char *string) has no meaningful content


o3read.c: In function 'parse_html':
o3read.c:353: warning: comparison between signed and unsigned
src/text-filters/ooo_converter/o3read.c
Not a real issue, but readily eliminated by defining m as unsigned int


trackerd.c: In function 'main':
trackerd.c:2636: warning: implicit declaration of function 'ioprio'
trackerd.c:2636: warning: nested extern declaration of 'ioprio'


tracker-inotify.c: In function 'process_inotify_events':
tracker-inotify.c:434: warning: 'dir_utf8_uri' may be used uninitialized in this function
Not a poblem


tracker-inotify.c:433: warning: 'monitor_name' may be used uninitialized in this function
Needs fixing


tracker-dbus-files.c: In function 'tracker_dbus_method_files_get_text_contents':
tracker-dbus-files.c:411: warning: 'res' is used uninitialized in this function
Needs fixing


tracker-dbus-files.c: In function 'tracker_dbus_method_files_exists':
tracker-dbus-files.c:37: warning: 'fsize' may be used uninitialized in this function
Needs fixing


tracker-mbox-thunderbird.c: In function 'watch_emails_of_thunderbird':
tracker-mbox-thunderbird.c:69: warning: 'prefs' may be used uninitialized in this function
Needs fixing


tracker-utils.c:1401: warning: 'has_prefix' defined but not used
Redundant funtion can be deleted or at least commented out


tracker.c:185: warning: 'tracker_boolean_reply' defined but not used
Redundant funtion can be deleted or at least commented out


tracker-search.c: In function 'main':
tracker-search.c:73: warning: 'result' may be used uninitialized in this function
Needs fixing


tracker-extract.c:118: warning: 'get_metadata_type' defined but not used
Redundant funtion can be deleted or at least commented out


tracker-extract-mp3.c: In function 'tracker_extract_mp3':
tracker-extract-mp3.c:959: warning: 'info.title' may be used uninitialized in this function
tracker-extract-mp3.c:959: warning: 'info.artist' may be used uninitialized in this function
tracker-extract-mp3.c:959: warning: 'info.album' may be used uninitialized in this function
tracker-extract-mp3.c:959: warning: 'info.year' may be used uninitialized in this function
tracker-extract-mp3.c:959: warning: 'info.comment' may be used uninitialized in this function
tracker-extract-mp3.c:959: warning: 'info.genre' may be used uninitialized in this function
Needs fix in case of no id3 info detected

HTH

Regards
Tom



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]