Guard debug variables in Adblock with G_ENABLE_DEBUG

This commit is contained in:
Enrico Tröger 2010-05-14 22:41:04 +02:00 committed by Christian Dywan
parent 25a08b36ee
commit bab6124cff

View file

@ -44,7 +44,9 @@ static GHashTable* keys;
static gchar* blockcss = NULL; static gchar* blockcss = NULL;
static gchar* blockcssprivate = NULL; static gchar* blockcssprivate = NULL;
static gchar* blockscript = NULL; static gchar* blockscript = NULL;
#ifdef G_ENABLE_DEBUG
static guint debug; static guint debug;
#endif
static gboolean static gboolean
adblock_parse_file (gchar* path); adblock_parse_file (gchar* path);
@ -1356,7 +1358,9 @@ static void
adblock_activate_cb (MidoriExtension* extension, adblock_activate_cb (MidoriExtension* extension,
MidoriApp* app) MidoriApp* app)
{ {
#ifdef G_ENABLE_DEBUG
const gchar* debug_mode; const gchar* debug_mode;
#endif
KatzeArray* browsers; KatzeArray* browsers;
MidoriBrowser* browser; MidoriBrowser* browser;
guint i; guint i;