From d9b24bb1f385d356c15cbc3bba0f940034a55c9e Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Wed, 26 Jan 2011 08:05:34 +0100 Subject: [PATCH] plug-ins: Fix warning about usage of uninitialized variable --- plug-ins/common/file-header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug-ins/common/file-header.c b/plug-ins/common/file-header.c index 983b526f67..e5356a405c 100644 --- a/plug-ins/common/file-header.c +++ b/plug-ins/common/file-header.c @@ -163,7 +163,7 @@ save_image (const gchar *filename, const gchar *newline = "\"\n\t\""; gchar buf[4]; guchar *d = NULL; - guchar *data; + guchar *data = NULL; guchar *cmap; gint colors;