[gegl] jp2-load: Initialize variables to NULL
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] jp2-load: Initialize variables to NULL
- Date: Wed, 23 Jun 2010 09:20:36 +0000 (UTC)
commit 86531da08b19844ef20337c6d5c1fffbbb795e93
Author: Mukund Sivaraman <muks banu com>
Date: Wed Jun 23 14:37:45 2010 +0530
jp2-load: Initialize variables to NULL
operations/workshop/external/jp2-load.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/workshop/external/jp2-load.c b/operations/workshop/external/jp2-load.c
index 315c16b..b44ed57 100644
--- a/operations/workshop/external/jp2-load.c
+++ b/operations/workshop/external/jp2-load.c
@@ -163,6 +163,8 @@ process (GeglOperation *operation,
gushort *ptr_s;
guchar *ptr_b;
+ in = NULL;
+ image = NULL;
width = height = depth = 0;
if (!query_jp2 (o->path, &width, &height, &depth, &in, &image))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]