qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PULL 02/12] tests/hd-geo-test.c: Remove unused test_imag


From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 02/12] tests/hd-geo-test.c: Remove unused test_image variable
Date: Thu, 15 Jan 2015 11:30:40 +0300

From: Peter Maydell <address@hidden>

Remove unused variable test_image; this silences a clang warning.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 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 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");
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]