OSDN Git Service

tests/hd-geo-test.c: Remove unused test_image variable
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Dec 2014 22:26:53 +0000 (22:26 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 15 Jan 2015 07:44:13 +0000 (10:44 +0300)
Remove unused variable test_image; this silences a clang warning.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/hd-geo-test.c

index 7cc8dff..00afc20 100644 (file)
@@ -22,8 +22,6 @@
 #include "qemu-common.h"
 #include "libqtest.h"
 
-static const char test_image[] = "/tmp/qtest.XXXXXX";
-
 static char *create_test_img(int secs)
 {
     char *template = strdup("/tmp/qtest.XXXXXX");