diff mbox

[PULL,02/12] tests/hd-geo-test.c: Remove unused test_image variable

Message ID 9c6d5c1ade0b681b6f93c3d9d214389355cc563c.1421310394.git.mjt@msgid.tls.msk.ru
State Accepted
Commit 9c6d5c1ade0b681b6f93c3d9d214389355cc563c
Headers show

Commit Message

Michael Tokarev Jan. 15, 2015, 8:30 a.m. UTC
From: Peter Maydell <peter.maydell@linaro.org>

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 | 2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/tests/hd-geo-test.c b/tests/hd-geo-test.c
index 7cc8dff..00afc20 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");