[gjs] console: remove unused variable
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] console: remove unused variable
- Date: Thu, 2 Jan 2014 01:39:04 +0000 (UTC)
commit 3d2bcd7d09dab85bcc23dc722a9a0ce4d983fec7
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Fri Feb 22 02:05:52 2013 +0100
console: remove unused variable
gjs/console.cpp | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gjs/console.cpp b/gjs/console.cpp
index f8ccb93..4855d3e 100644
--- a/gjs/console.cpp
+++ b/gjs/console.cpp
@@ -56,7 +56,6 @@ print_help (GOptionContext *context,
int
main(int argc, char **argv)
{
- char *command_line;
GOptionContext *context;
GError *error = NULL;
GjsContext *js_context;
@@ -88,9 +87,6 @@ main(int argc, char **argv)
setlocale(LC_ALL, "");
- command_line = g_strjoinv(" ", argv);
- g_free(command_line);
-
if (command != NULL) {
script = command;
source_js_version = gjs_context_scan_buffer_for_js_version(script, 1024);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]