From: Richard W.M. Jones Date: Thu, 9 Dec 2010 18:30:08 +0000 (+0000) Subject: cat: Remove some unused local variables in virt-cat.c and virt-ls.c. X-Git-Tag: 1.7.21~5 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ff99f399f09025eb4c880da8f13d666146dfac7f;p=libguestfs.git cat: Remove some unused local variables in virt-cat.c and virt-ls.c. --- diff --git a/cat/virt-cat.c b/cat/virt-cat.c index ebae895..470c70c 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 a3f043a..3e789b8 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 ();