From 68f3c87f967c37c1fa98a3f57a14191f37b70921 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 28 Jul 2009 13:57:07 +0100 Subject: [PATCH] Fix compiler warnings when COGL debug level=minimum --- common/cogl-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cogl-debug.c b/common/cogl-debug.c index 28c475295..6ca99c5b3 100644 --- a/common/cogl-debug.c +++ b/common/cogl-debug.c @@ -96,9 +96,9 @@ pre_parse_hook (GOptionContext *context, gpointer data, GError **error) { +#ifdef COGL_ENABLE_DEBUG const char *env_string; -#ifdef COGL_ENABLE_DEBUG env_string = g_getenv ("COGL_DEBUG"); if (env_string != NULL) {