diff options
author | Richard Hughes <richard@hughsie.com> | 2014-11-04 16:30:23 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-11-04 16:30:24 +0000 |
commit | caa4d69ddbc4a3fd4a570ac73b64ac36a34b4a02 (patch) | |
tree | 3ca7f5f7c251c78ccdb593cd25bec135569bd554 /libappstream-glib/as-image.c | |
parent | 3b5399778818cc45ddefd9138a02b5ba2626a1d9 (diff) | |
download | appstream-glib-caa4d69ddbc4a3fd4a570ac73b64ac36a34b4a02.tar.gz |
trivial: Don't show warnings when doing distcheck
It seems that the compiler really does require an initializer when using the
_cleanup_ macros.
Diffstat (limited to 'libappstream-glib/as-image.c')
-rw-r--r-- | libappstream-glib/as-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-image.c b/libappstream-glib/as-image.c index bfc8636..d8e4880 100644 --- a/libappstream-glib/as-image.c +++ b/libappstream-glib/as-image.c @@ -641,7 +641,7 @@ as_image_save_filename (AsImage *image, AsImageSaveFlags flags, GError **error) { - _cleanup_object_unref_ GdkPixbuf *pixbuf; + _cleanup_object_unref_ GdkPixbuf *pixbuf = NULL; /* save source file */ pixbuf = as_image_save_pixbuf (image, width, height, flags); |