mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
cat: Remove some unused local variables in virt-cat.c and virt-ls.c.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user