[gimp] plug-ins: need to initialize "name" now in file-pat.c
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: need to initialize "name" now in file-pat.c
- Date: Sat, 7 Jul 2018 08:50:21 +0000 (UTC)
commit 34a0c36602d094aa677a71848a33d0163419e091
Author: Michael Natterer <mitch gimp org>
Date: Sat Jul 7 10:49:17 2018 +0200
plug-ins: need to initialize "name" now in file-pat.c
plug-ins/common/file-pat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/common/file-pat.c b/plug-ins/common/file-pat.c
index c5cbf1a2ba..949c9f5d9c 100644
--- a/plug-ins/common/file-pat.c
+++ b/plug-ins/common/file-pat.c
@@ -320,7 +320,7 @@ load_image (GFile *file,
{
GInputStream *input;
GimpPatternHeader ph;
- gchar *name;
+ gchar *name = NULL;
gchar *temp;
guchar *buf;
gint32 image_ID;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]