From bab6124cff457692b7052fe53592c05b0d342a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Fri, 14 May 2010 22:41:04 +0200 Subject: [PATCH] Guard debug variables in Adblock with G_ENABLE_DEBUG --- extensions/adblock.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/adblock.c b/extensions/adblock.c index b15becf9..8b021afd 100644 --- a/extensions/adblock.c +++ b/extensions/adblock.c @@ -44,7 +44,9 @@ static GHashTable* keys; static gchar* blockcss = NULL; static gchar* blockcssprivate = NULL; static gchar* blockscript = NULL; +#ifdef G_ENABLE_DEBUG static guint debug; +#endif static gboolean adblock_parse_file (gchar* path); @@ -1356,7 +1358,9 @@ static void adblock_activate_cb (MidoriExtension* extension, MidoriApp* app) { + #ifdef G_ENABLE_DEBUG const gchar* debug_mode; + #endif KatzeArray* browsers; MidoriBrowser* browser; guint i;