gcc5: test-tool: Initialize local variable.

gcc 5 cannot prove that the variable is always initialized
and therefore prints a warning.
This commit is contained in:
Richard W.M. Jones
2015-01-19 16:05:41 +00:00
parent fceab82647
commit 52528729f6

View File

@@ -93,7 +93,7 @@ main (int argc, char *argv[])
char **pp;
guestfs_h *g;
char *qemu = NULL;
int qemu_use_wrapper;
int qemu_use_wrapper = 0;
for (;;) {
c = getopt_long (argc, argv, options, long_options, &option_index);