Fix warning: Initialize to TRUE the returned variable
Also, fixing some indentation problems
This commit is contained in:
@ -275,7 +275,7 @@ static gpointer gdk_pixbuf__qtif_image_begin_load (GdkPixbufModuleSizeFunc size_
|
|||||||
static gboolean gdk_pixbuf__qtif_image_stop_load (gpointer data, GError **error)
|
static gboolean gdk_pixbuf__qtif_image_stop_load (gpointer data, GError **error)
|
||||||
{
|
{
|
||||||
QTIFContext *context = (QTIFContext *)data;
|
QTIFContext *context = (QTIFContext *)data;
|
||||||
gboolean ret;
|
gboolean ret = TRUE;
|
||||||
|
|
||||||
if(context->loader != NULL)
|
if(context->loader != NULL)
|
||||||
{
|
{
|
||||||
@ -288,6 +288,7 @@ static gboolean gdk_pixbuf__qtif_image_stop_load (gpointer data, GError **error)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
g_free(context);
|
g_free(context);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user