From 52528729f6484897c42c899f5ab4fd6cbcd1eabe Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 19 Jan 2015 16:05:41 +0000 Subject: [PATCH] gcc5: test-tool: Initialize local variable. gcc 5 cannot prove that the variable is always initialized and therefore prints a warning. --- test-tool/test-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index c7ba846d3..f41b8fd33 100644 --- a/test-tool/test-tool.c +++ b/test-tool/test-tool.c @@ -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);