From: Laurent Monin Date: Thu, 30 Aug 2012 12:21:41 +0000 (+0200) Subject: Silent a warning when compiling with GTK+ >= 3.0.0. X-Git-Tag: v1.2~74 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=9a6cccf9676b10f3750d99f1c895c7664d21b20d Silent a warning when compiling with GTK+ >= 3.0.0. unused variable ‘success’ [-Wunused-variable] --- diff --git a/src/logwindow.c b/src/logwindow.c index a1cbb833..cf6230f5 100644 --- a/src/logwindow.c +++ b/src/logwindow.c @@ -113,8 +113,8 @@ static void log_window_init(LogWindow *logwin) GtkTextBuffer *buffer; #if !GTK_CHECK_VERSION(3,0,0) GdkColormap *colormap; -#endif gboolean success[LOG_COUNT]; +#endif gint i; g_assert(logwin != NULL);