From c1e6a77e48c6fd5c3a4d6b217f3523e50a3f7c1e Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Thu, 30 Aug 2012 14:10:29 +0200 Subject: [PATCH] Silent a warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ‘histmap’ may be used uninitialized in this function --- src/image-overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image-overlay.c b/src/image-overlay.c index 635e827d..773d5a00 100644 --- a/src/image-overlay.c +++ b/src/image-overlay.c @@ -478,7 +478,7 @@ static GdkPixbuf *image_osd_info_render(OverlayStateData *osd) const gchar *name; gchar *text; gboolean with_hist; - const HistMap *histmap; + const HistMap *histmap = NULL; ImageWindow *imd = osd->imd; FileData *fd = image_get_fd(imd); -- 2.20.1