From bf6f05f39d5d6961ebfa5ffee9f539c949162daf Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 9 Sep 2015 11:24:11 +0200 Subject: [PATCH] fix unused variable warning --- src/seen.test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/seen.test.c b/src/seen.test.c index 733c8a114..fb6a42517 100644 --- a/src/seen.test.c +++ b/src/seen.test.c @@ -44,15 +44,14 @@ static void test_add_seen(CuTest *tc) { } static void test_faction_add_seen(CuTest *tc) { - region *r; faction *f; seen_region *sr; test_cleanup(); f = test_create_faction(0); f->seen = seen_init(); - r = test_create_region(0, 0, 0); - r = test_create_region(0, 1, 0); + test_create_region(0, 0, 0); + test_create_region(0, 1, 0); sr = faction_add_seen(f, regions, see_unit); CuAssertIntEquals(tc, false, sr->disbelieves); CuAssertPtrEquals(tc, regions, f->first);