[gjs/wip/package: 54/57] console: remove unused variable



commit 278765a3d167570ec1d51adb169091a119102593
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Feb 22 02:05:52 2013 +0100

    console: remove unused variable

 gjs/console.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gjs/console.c b/gjs/console.c
index 4593d7e..5d14937 100644
--- a/gjs/console.c
+++ b/gjs/console.c
@@ -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]