[gimp] plug-ins: Fix warning about usage of uninitialized variable
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: Fix warning about usage of uninitialized variable
- Date: Wed, 26 Jan 2011 07:18:45 +0000 (UTC)
commit d9b24bb1f385d356c15cbc3bba0f940034a55c9e
Author: Martin Nordholts <martinn src gnome org>
Date: Wed Jan 26 08:05:34 2011 +0100
plug-ins: Fix warning about usage of uninitialized variable
plug-ins/common/file-header.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-header.c b/plug-ins/common/file-header.c
index 983b526..e5356a4 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]