[gjs/wip/package: 74/83] console: remove unused variable



commit 4f5c0e6dd882d36a484c5f01f4dee11a9dca9f86
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 bcf2a7e..1753f78 100644
--- a/gjs/console.c
+++ b/gjs/console.c
@@ -42,7 +42,6 @@ static GOptionEntry entries[] = {
 int
 main(int argc, char **argv)
 {
-    char *command_line;
     GOptionContext *context;
     GError *error = NULL;
     GjsContext *js_context;
@@ -66,9 +65,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]