From 250880f06794bfc46dc2b99b2fd2ce82d5d209bb Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 20 May 2015 07:19:50 +0200 Subject: [PATCH] fix gcc warning (unused variable) --- src/kernel/faction.test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kernel/faction.test.c b/src/kernel/faction.test.c index 5317b4c04..42e76d1a8 100644 --- a/src/kernel/faction.test.c +++ b/src/kernel/faction.test.c @@ -130,13 +130,11 @@ static void test_set_origin(CuTest *tc) { static void test_set_origin_bug(CuTest *tc) { faction *f; - region *r; plane *pl; int x = 17, y = 10; test_cleanup(); test_create_world(); - r = test_create_region(x, y, 0); pl = create_new_plane(0, "", 0, 19, 0, 19, 0); f = test_create_faction(0); faction_setorigin(f, 0, -10, 3);