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

gEDA-dev: [PATCH] gschem: Fix unused variable warning (trivial)



Fixes a warning when compiling x_fileselect.c.

Trivial patch.

diff --git a/geda/gaf/gschem/src/x_fileselect.c 
b/geda/gaf/gschem/src/x_fileselect.c
index 3fe23b3..1786d82 100644
--- a/geda/gaf/gschem/src/x_fileselect.c
+++ b/geda/gaf/gschem/src/x_fileselect.c
@@ -2229,7 +2229,6 @@ void x_fileselect_setup (TOPLEVEL *w_cur
 #if ((GTK_MAJOR_VERSION > 2) || \
      ((GTK_MAJOR_VERSION == 2) && (GTK_MINOR_VERSION >= 4)) )
 
-  GtkImage *preview_widget;
   gchar *title;
   FILEDIALOG *f_current;
   if (type < 0 || type > 2) {

Attachment: pgpjlp0XMUQ0N.pgp
Description: PGP signature


_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev