[gjs] importer: Remove unused variable
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] importer: Remove unused variable
- Date: Sat, 28 Jan 2017 06:04:48 +0000 (UTC)
commit d4d83e983dab1a71ee76d6cfa3745e3e60d45584
Author: Philip Chimento <philip endlessm com>
Date: Fri Jan 27 17:45:19 2017 -0800
importer: Remove unused variable
The compiler didn't warn about this because it calls a constructor, so it
might have had side effects.
https://bugzilla.gnome.org/show_bug.cgi?id=777205
gjs/importer.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gjs/importer.cpp b/gjs/importer.cpp
index 643b529..4c93041 100644
--- a/gjs/importer.cpp
+++ b/gjs/importer.cpp
@@ -336,7 +336,6 @@ import_file(JSContext *context,
gsize script_len = 0;
GError *error = NULL;
- JS::CompileOptions options(context);
JS::RootedValue ignored(context);
if (!(g_file_load_contents(file, NULL, &script, &script_len, NULL, &error))) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]