Fix compiler warnings when COGL debug level=minimum
This commit is contained in:
parent
85b69237a9
commit
77fdd7494e
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user