summaryrefslogtreecommitdiffstats
path: root/fish/fish.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-09 11:54:59 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-09 11:55:23 +0000
commit5376e13806576a392270621ae3cf37c32be40559 (patch)
tree41061a5ac4a887275a33ecd1c878b1b726a6a055 /fish/fish.c
parent370f79fd3d3df3511fe50f39491c2d15f653c48f (diff)
downloadlibguestfs-5376e13806576a392270621ae3cf37c32be40559.tar.gz
libguestfs-5376e13806576a392270621ae3cf37c32be40559.tar.xz
libguestfs-5376e13806576a392270621ae3cf37c32be40559.zip
fish: Remove some unused local variables.
Diffstat (limited to 'fish/fish.c')
-rw-r--r--fish/fish.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/fish.c b/fish/fish.c
index 50340a35..265464e7 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -224,7 +224,7 @@ main (int argc, char *argv[])
* getopt_long uses argv[0], so give it the sanitized name. Save a copy
* of the original, in case it's needed below.
*/
- char *real_argv0 = argv[0];
+ //char *real_argv0 = argv[0];
argv[0] = bad_cast (program_name);
for (;;) {
@@ -854,7 +854,7 @@ issue_command (const char *cmd, char *argv[], const char *pipecmd)
int argc;
int stdout_saved_fd = -1;
int pid = 0;
- int i, r;
+ int r;
reset_progress_bar ();