GNOME Bugzilla – Bug 708839
Compilation warnings
Last modified: 2013-09-27 17:06:57 UTC
Got several compilation warnings when compiling file-roller from git master: CC dlg-ask-password.o dlg-ask-password.c: In function ‘dlg_ask_password__common’: dlg-ask-password.c:135:5: warning: ‘old_password’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (old_password != NULL) { ^ dlg-ask-password.c:129:11: warning: ‘file’ may be used uninitialized in this function [-Wmaybe-uninitialized] filename = _g_file_get_display_basename (file); ^ CC fr-command-ace.o fr-command-ace.c: In function ‘process_line’: fr-command-ace.c:135:20: warning: ‘field_name’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (field_name[0] != '/') { ^ fr-command-ace.c:122:40: warning: ‘fields’ may be used uninitialized in this function [-Wmaybe-uninitialized] if ((fields == NULL) || (fields[0] == NULL) || (g_strv_length (fields) < 5)) ^ CCLD file-roller Attaching patches now.
Created attachment 255834 [details] [review] Patch.
Created attachment 255835 [details] [review] Another one.
Created attachment 255836 [details] [review] Third one
Created attachment 255839 [details] [review] Forth.
Created attachment 255840 [details] [review] Fifth, last one.
Patches pushed to master now, thank you.