Silent a warning when compiling with GTK+ >= 3.0.0.
authorLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 12:21:41 +0000 (14:21 +0200)
committerLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 12:21:41 +0000 (14:21 +0200)
unused variable ‘success’ [-Wunused-variable]

src/logwindow.c

index a1cbb83..cf6230f 100644 (file)
@@ -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);