[java-atk-wrapper] JNI: Initialise variables before using
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] JNI: Initialise variables before using
- Date: Thu, 4 Jun 2015 22:05:24 +0000 (UTC)
commit 9b54bfef482885d9db045bea2893b2f41a698a18
Author: Magdalen Berns <m berns thismagpie com>
Date: Thu Jun 4 23:04:12 2015 +0100
JNI: Initialise variables before using
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=750425
jni/src/jawimpl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/jni/src/jawimpl.c b/jni/src/jawimpl.c
index d51178c..5ca98c8 100644
--- a/jni/src/jawimpl.c
+++ b/jni/src/jawimpl.c
@@ -486,9 +486,9 @@ jaw_impl_finalize(GObject *gobject)
jaw_obj->acc_context = NULL;
/* Interface finalize */
- GHashTableIter *iter;
- gpointer *key;
- gpointer *value;
+ GHashTableIter *iter = NULL;
+ gpointer *key = NULL;
+ gpointer *value = NULL;
g_hash_table_iter_init(iter, jaw_impl->ifaceTable);
while (g_hash_table_iter_next(iter, key, value))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]