Fix compiler warnings when COGL debug level=minimum

This commit is contained in:
Emmanuele Bassi 2009-07-28 13:57:07 +01:00
parent 05dabd1aa5
commit 68f3c87f96

View File

@ -96,9 +96,9 @@ pre_parse_hook (GOptionContext *context,
gpointer data, gpointer data,
GError **error) GError **error)
{ {
#ifdef COGL_ENABLE_DEBUG
const char *env_string; const char *env_string;
#ifdef COGL_ENABLE_DEBUG
env_string = g_getenv ("COGL_DEBUG"); env_string = g_getenv ("COGL_DEBUG");
if (env_string != NULL) if (env_string != NULL)
{ {