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);