]> git.eshelyaron.com Git - emacs.git/commitdiff
* gtkutil.c (xg_get_file_with_chooser): Mark var as initialized.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Apr 2011 02:39:52 +0000 (19:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Apr 2011 02:39:52 +0000 (19:39 -0700)
src/ChangeLog
src/gtkutil.c

index b629c5ca10d8386146606615fd4fa95ae09aa371..a147bd12cf44109520e822475d04a13875e7ac2e 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-02  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * gtkutil.c (xg_get_file_with_chooser): Mark var as initialized.
+
        * image.c (lookup_image): Remove var that is set but not used.
        (xbm_load): Use parse_p, for gcc -Werror=unused-but-set-variable.
 
index 4e5ecce76c7b30ca2d39ebdc972d6e6b8cd6c3d5..4b53915c4165222679f11ebed9198e3c7bbcefcd 100644 (file)
@@ -1704,7 +1704,7 @@ xg_get_file_with_chooser (FRAME_PTR f,
 {
   char msgbuf[1024];
 
-  GtkWidget *filewin, *wtoggle, *wbox, *wmessage;
+  GtkWidget *filewin, *wtoggle, *wbox, *wmessage IF_LINT (= NULL);
   GtkWindow *gwin = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f));
   GtkFileChooserAction action = (mustmatch_p ?
                                  GTK_FILE_CHOOSER_ACTION_OPEN :