Re: [Tracker] compiler warnings



Le mardi 31 juillet 2007 Ã 08:14 +1000, tpgww onepost net a Ãcrit :
I just built tracker svn (734, from yesterday) and, among the many compiler-warnings generated, I see a few 
that really should be investigated and dealt with one way or another:

trackerd.c:2349: warning: ignoring return value of 'nice', declared with attribute warn_unused_result
trackerd.c:1021: warning: 'list' may be used uninitialized in this function
tracker-db-sqlite.c:462: warning: ignoring return value of 'fgets', declared with attribute 
warn_unused_result
tracker-db-sqlite.c:1189: warning: ignoring return value of 'link', declared with attribute 
warn_unused_result
tracker-db-email.c:412: warning: 'mbox_id' may be used uninitialized in this function
tracker-dbus-search.c:901: warning: 'winner_dist' may be used uninitialized in this function
tracker-utils.c:3441: warning: ignoring return value of 'nice', declared with attribute warn_unused_result
tracker-extract.c:212: warning: ignoring return value of 'nice', declared with attribute warn_unused_result
tracker-extract-ps.c:101: warning: ignoring return value of 'getline', declared with attribute 
warn_unused_result
tracker-extract-ps.c:139: warning: ignoring return value of 'getline', declared with attribute 
warn_unused_result
tracker-extract-abw.c:35: warning: ignoring return value of 'getline', declared with attribute 
warn_unused_result
tracker-extract-abw.c:62: warning: ignoring return value of 'getline', declared with attribute 
warn_unused_result
tracker-extract-gstreamer.c:233: warning: 'message' is used uninitialized in this function

I do not have any warnings about "warn_unused_result".

What compiler do you use? What version? What compiler flags?
What is your platform? Linux (What distribution and version? Is it up to
date?)? Unix (vendor?)?


Laurent.

Regards
Tom
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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