From 9c6d5c1ade0b681b6f93c3d9d214389355cc563c Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 23 Dec 2014 22:26:53 +0000 Subject: 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(-) (limited to 'tests') 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"); -- cgit v1.1 From b4952c3677170139541bc6bc14e9c2cfdc056181 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 3 Jan 2015 14:41:39 +0100 Subject: misc: Fix new typos in comments recieve -> receive suprise -> surprise Cc: Igor Mammedov Cc: John Snow Signed-off-by: Stefan Weil Reviewed-by: John Snow Signed-off-by: Michael Tokarev --- tests/ahci-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ahci-test.c b/tests/ahci-test.c index e77fa3a..b1a59f2 100644 --- a/tests/ahci-test.c +++ b/tests/ahci-test.c @@ -1289,7 +1289,7 @@ static void ahci_test_identify(QPCIDevice *ahci, void *hba_base) PX_WREG(i, AHCI_PX_IS, reg); g_assert_cmphex(PX_RREG(i, AHCI_PX_IS), ==, 0); - /* Wipe the FIS-Recieve Buffer */ + /* Wipe the FIS-Receive Buffer */ fb = PX_RREG(i, AHCI_PX_FB); g_assert_cmphex(fb, !=, 0); qmemset(fb, 0x00, 0x100); -- cgit v1.1