[geany/geany-plugins] fb730c: geanyctags: remove unused variable

Jiří Techet git-noreply at xxxxx
Tue Oct 14 21:48:33 UTC 2014


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Tue, 14 Oct 2014 21:48:33 UTC
Commit:      fb730c50cfc0080190c0ed80cbb786a5d1e4e38e
             https://github.com/geany/geany-plugins/commit/fb730c50cfc0080190c0ed80cbb786a5d1e4e38e

Log Message:
-----------
geanyctags: remove unused variable


Modified Paths:
--------------
    geanyctags/src/geanyctags.c

Modified: geanyctags/src/geanyctags.c
5 lines changed, 2 insertions(+), 3 deletions(-)
===================================================================
@@ -107,7 +107,7 @@ static void spawn_cmd(const gchar *cmd, const gchar *dir)
 	gchar *working_dir;
 	gchar *utf8_working_dir;
 	gchar *utf8_cmd_string;
-	gchar *out, *err;
+	gchar *err;
 	gint exitcode;
 
 #ifndef G_OS_WIN32
@@ -135,7 +135,7 @@ static void spawn_cmd(const gchar *cmd, const gchar *dir)
 	g_free(utf8_cmd_string);
 
 	if (!utils_spawn_sync(working_dir, argv, NULL, G_SPAWN_SEARCH_PATH,
-			NULL, NULL, &out, &err, &exitcode, &error) || exitcode != 0)
+			NULL, NULL, NULL, &err, &exitcode, &error) || exitcode != 0)
 	{
 		if (error != NULL)
 		{
@@ -151,7 +151,6 @@ static void spawn_cmd(const gchar *cmd, const gchar *dir)
 
 	g_strfreev(argv);
 	g_free(working_dir);
-	g_free(out);
 	g_free(err);
 }
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list