summaryrefslogtreecommitdiffstats
path: root/cat
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-09 18:30:08 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-09 18:30:08 +0000
commitff99f399f09025eb4c880da8f13d666146dfac7f (patch)
treeae17f065b60f61fb1cc271f6550fc69e672a2fa3 /cat
parent8e7012131cbf406a936efbbe688aec253bd742a0 (diff)
downloadlibguestfs-ff99f399f09025eb4c880da8f13d666146dfac7f.tar.gz
libguestfs-ff99f399f09025eb4c880da8f13d666146dfac7f.tar.xz
libguestfs-ff99f399f09025eb4c880da8f13d666146dfac7f.zip
cat: Remove some unused local variables in virt-cat.c and virt-ls.c.
Diffstat (limited to 'cat')
-rw-r--r--cat/virt-cat.c2
-rw-r--r--cat/virt-ls.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/cat/virt-cat.c b/cat/virt-cat.c
index ebae8952..470c70cc 100644
--- a/cat/virt-cat.c
+++ b/cat/virt-cat.c
@@ -104,11 +104,9 @@ main (int argc, char *argv[])
};
struct drv *drvs = NULL;
struct drv *drv;
- char *p, *file = NULL;
const char *format = NULL;
int c;
int option_index;
- int next_prepared_drive = 1;
g = guestfs_create ();
if (g == NULL) {
diff --git a/cat/virt-ls.c b/cat/virt-ls.c
index a3f043a0..3e789b82 100644
--- a/cat/virt-ls.c
+++ b/cat/virt-ls.c
@@ -109,11 +109,9 @@ main (int argc, char *argv[])
};
struct drv *drvs = NULL;
struct drv *drv;
- char *p, *file = NULL;
const char *format = NULL;
int c;
int option_index;
- int next_prepared_drive = 1;
char mode = 0;
g = guestfs_create ();