forked from github/server
fix gcc warning (unused variable)
This commit is contained in:
parent
3a03579a65
commit
250880f067
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue