1
0
Fork 0

Fix compiler warnings when COGL debug level=minimum

This commit is contained in:
Emmanuele Bassi 2009-07-28 13:57:07 +01:00
parent 85b69237a9
commit 77fdd7494e
2 changed files with 4 additions and 2 deletions

View file

@ -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)
{

View file

@ -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;
}