Branch: refs/heads/1.22_release Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 08 Jul 2012 17:20:20 Commit: b542cef334ad4322a1a4888830faa58a4bcc09ba https://github.com/geany/geany-plugins/commit/b542cef334ad4322a1a4888830faa5...
Log Message: ----------- GeanyVC: Remove a few unused variables
Modified Paths: -------------- geanyvc/src/vc_bzr.c geanyvc/src/vc_git.c geanyvc/src/vc_hg.c geanyvc/src/vc_svn.c
Modified: geanyvc/src/vc_bzr.c 5 files changed, 2 insertions(+), 3 deletions(-) =================================================================== @@ -118,7 +118,6 @@ static gboolean in_vc_bzr(const gchar * filename) { - gint exit_code; const gchar *argv[] = { "bzr", "log", NULL, NULL }; gchar *dir; gchar *base_name; @@ -135,8 +134,8 @@ base_name = g_path_get_basename(filename); argv[2] = base_name;
- exit_code = execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, - filename, NULL, NULL); + execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, + filename, NULL, NULL);
if (NZV(std_output)) {
Modified: geanyvc/src/vc_git.c 11 files changed, 4 insertions(+), 7 deletions(-) =================================================================== @@ -181,7 +181,6 @@ static gboolean in_vc_git(const gchar * filename) { - gint exit_code; const gchar *argv[] = { "git", "ls-files", "--", NULL, NULL }; gchar *dir; gchar *base_name; @@ -198,8 +197,8 @@ base_name = g_path_get_basename(filename); argv[3] = base_name;
- exit_code = execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, - dir, NULL, NULL); + execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, + dir, NULL, NULL); if (NZV(std_output)) { ret = TRUE; @@ -252,7 +251,6 @@ static GSList * get_commit_files_git(const gchar * file) { - gint exit_code; const gchar *argv[] = { "git", "status", NULL }; const gchar *env[] = { "PAGES=cat", NULL }; gchar *std_out = NULL; @@ -261,9 +259,8 @@
g_return_val_if_fail(base_dir, NULL);
- exit_code = - execute_custom_command(base_dir, (const gchar **) argv, (const gchar **) env, - &std_out, NULL, base_dir, NULL, NULL); + execute_custom_command(base_dir, (const gchar **) argv, (const gchar **) env, + &std_out, NULL, base_dir, NULL, NULL); g_return_val_if_fail(std_out, NULL);
ret = parse_git_status(ret, base_dir, std_out, "modified:", FILE_STATUS_MODIFIED);
Modified: geanyvc/src/vc_hg.c 5 files changed, 2 insertions(+), 3 deletions(-) =================================================================== @@ -117,7 +117,6 @@ static gboolean in_vc_hg(const gchar * filename) { - gint exit_code; const gchar *argv[] = { "hg", "status", "-mac", NULL, NULL }; gchar *dir; gchar *base_name; @@ -134,8 +133,8 @@ base_name = g_path_get_basename(filename); argv[3] = base_name;
- exit_code = execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, - dir, NULL, NULL); + execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, + dir, NULL, NULL); if (NZV(std_output)) { ret = TRUE;
Modified: geanyvc/src/vc_svn.c 5 files changed, 2 insertions(+), 3 deletions(-) =================================================================== @@ -166,7 +166,6 @@ static gboolean in_vc_svn(const gchar * filename) { - gint exit_code; const gchar *argv[] = { "svn", "info", "--non-interactive", NULL, NULL }; gchar *dir; gchar *base_name; @@ -183,8 +182,8 @@ base_name = g_path_get_basename(filename); argv[3] = base_name;
- exit_code = execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, - dir, NULL, NULL); + execute_custom_command(dir, (const gchar **) argv, NULL, &std_output, NULL, + dir, NULL, NULL); if (NZV(std_output)) { ret = TRUE;
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org