[gjs] Fix some compilation warnings



commit f6493f06d7f5b0b46a2ad109f05ddb288f1bae78
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 28 10:23:19 2010 -0400

    Fix some compilation warnings

 gjs/jsapi-util-array.c |    1 -
 test/gjs-unit.c        |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gjs/jsapi-util-array.c b/gjs/jsapi-util-array.c
index 568971d..ce72810 100644
--- a/gjs/jsapi-util-array.c
+++ b/gjs/jsapi-util-array.c
@@ -297,7 +297,6 @@ gjstest_test_func_gjs_jsapi_util_array(void)
 {
     GjsUnitTestFixture fixture;
     JSContext *context;
-    JSObject *global;
     GjsRootedArray *array;
     int i;
     jsval value;
diff --git a/test/gjs-unit.c b/test/gjs-unit.c
index eb4ae3b..39b4a49 100644
--- a/test/gjs-unit.c
+++ b/test/gjs-unit.c
@@ -25,7 +25,7 @@
 
 #include <glib.h>
 #include <glib/gstdio.h>
-#include <gjs/gjs.h>
+#include <gjs/gjs-module.h>
 #include <util/crash.h>
 #include <locale.h>
 



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