fix gcc warning (unused variable)

This commit is contained in:
Enno Rehling 2015-05-20 07:19:50 +02:00
parent 3a03579a65
commit 250880f067
1 changed files with 0 additions and 2 deletions

View File

@ -130,13 +130,11 @@ static void test_set_origin(CuTest *tc) {
static void test_set_origin_bug(CuTest *tc) { static void test_set_origin_bug(CuTest *tc) {
faction *f; faction *f;
region *r;
plane *pl; plane *pl;
int x = 17, y = 10; int x = 17, y = 10;
test_cleanup(); test_cleanup();
test_create_world(); test_create_world();
r = test_create_region(x, y, 0);
pl = create_new_plane(0, "", 0, 19, 0, 19, 0); pl = create_new_plane(0, "", 0, 19, 0, 19, 0);
f = test_create_faction(0); f = test_create_faction(0);
faction_setorigin(f, 0, -10, 3); faction_setorigin(f, 0, -10, 3);