From 9c6d5c1ade0b681b6f93c3d9d214389355cc563c Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 23 Dec 2014 22:26:53 +0000 Subject: [PATCH] tests/hd-geo-test.c: Remove unused test_image variable Remove unused variable test_image; this silences a clang warning. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- tests/hd-geo-test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/hd-geo-test.c b/tests/hd-geo-test.c index 7cc8dfff1613..00afc209e6a4 100644 --- a/tests/hd-geo-test.c +++ b/tests/hd-geo-test.c @@ -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");