[gjs: 5/16] jsapi-util-error: Remove unused variable



commit cda0f84674b358a4d9b8dbccb52c85edf174a631
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Sep 16 19:39:51 2018 -0700

    jsapi-util-error: Remove unused variable

 gjs/jsapi-util-error.cpp | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gjs/jsapi-util-error.cpp b/gjs/jsapi-util-error.cpp
index f8f8088a..7657ffbb 100644
--- a/gjs/jsapi-util-error.cpp
+++ b/gjs/jsapi-util-error.cpp
@@ -77,7 +77,6 @@ gjs_throw_valist(JSContext       *context,
     }
 
     JS::RootedObject constructor(context);
-    JS::RootedObject global(context, JS::CurrentGlobalOrNull(context));
     JS::RootedValue v_constructor(context), exc_val(context);
     JS::RootedObject new_exc(context);
     JS::AutoValueArray<1> error_args(context);


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