Commit e0c575ea authored by Michael Hamann's avatar Michael Hamann Committed by Richard Hughes

Initialize error pointer for gdk_pixbuf_new_from_file_at_size properly

Signed-off-by: Richard Hughes's avatarRichard Hughes <richard@hughsie.com>
parent 778f1e92
......@@ -2072,7 +2072,7 @@ gcm_calib_image_changed_cb (GcmCalibrate *calibrate,
{
gchar *path;
GdkPixbuf *pixbuf;
GError *error;
GError *error = NULL;
if (filename != NULL) {
path = g_build_filename (GCM_DATA, "icons", filename, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment