summaryrefslogtreecommitdiffstats
path: root/bindings/java
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/java')
-rw-r--r--bindings/java/wrapper_top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/java/wrapper_top.c b/bindings/java/wrapper_top.c
index c27ca23e..a4b8a08b 100644
--- a/bindings/java/wrapper_top.c
+++ b/bindings/java/wrapper_top.c
@@ -415,7 +415,7 @@ gobject_to_jobject_and_ref(JNIEnv *env, GObject *obj, jobject *jobj) {
* It throws and return 0 if anything fail unexpectedly. */
static int
jobject_to_gobject(JNIEnv *env, jobject obj, GObject **gobj) {
- jlong value;
+ jlong value = 0;
GObject *gobject;
g_error_if_fail(env);