diff --git a/clutter/cogl/common/cogl-debug.c b/clutter/cogl/common/cogl-debug.c index 28c475295..6ca99c5b3 100644 --- a/clutter/cogl/common/cogl-debug.c +++ b/clutter/cogl/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) { diff --git a/clutter/pango/cogl-pango-render.c b/clutter/pango/cogl-pango-render.c index c98ddca1f..052233f85 100644 --- a/clutter/pango/cogl-pango-render.c +++ b/clutter/pango/cogl-pango-render.c @@ -437,7 +437,9 @@ cogl_pango_renderer_get_cached_glyph (PangoRenderer *renderer, COGL_NOTE (PANGO, "cache fail %i", glyph); } else - COGL_NOTE (PANGO, "cache success %i", glyph); + { + COGL_NOTE (PANGO, "cache success %i", glyph); + } return value; }