From: Enrico Tröger Date: Fri, 14 May 2010 20:41:04 +0000 (+0200) Subject: Guard debug variables in Adblock with G_ENABLE_DEBUG X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bab6124cff457692b7052fe53592c05b0d342a21;p=midori Guard debug variables in Adblock with G_ENABLE_DEBUG --- 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;