[gjs] Remove an unused variable



commit b92729d3c3910ab5a78b248e23f5662dc67ad906
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date:   Fri Mar 4 17:27:16 2011 +0100

    Remove an unused variable
    
    This declaration of retval was never used, only the one in the sub-block is.
    Remove it to silence a gcc warning
    
    https://bugzilla.gnome.org/show_bug.cgi?id=643325

 gi/function.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gi/function.c b/gi/function.c
index f03b5ff..a540836 100644
--- a/gi/function.c
+++ b/gi/function.c
@@ -844,7 +844,6 @@ function_call(JSContext *context,
     jsval *js_argv = JS_ARGV(context, vp);
     JSObject *object = JS_THIS_OBJECT(context, vp);
     JSObject *callee = JSVAL_TO_OBJECT(JS_CALLEE(context, vp));
-    jsval retval;
 #else
 static JSBool
 function_call(JSContext *context,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]