From 9a6cccf9676b10f3750d99f1c895c7664d21b20d Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Thu, 30 Aug 2012 14:21:41 +0200 Subject: [PATCH] Silent a warning when compiling with GTK+ >= 3.0.0. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit unused variable ‘success’ [-Wunused-variable] --- src/logwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1