fix gcc build

This commit is contained in:
Enno Rehling 2017-04-17 20:44:55 +02:00
parent 9fcab4ccb8
commit 055fdceff9
1 changed files with 0 additions and 2 deletions

View File

@ -171,12 +171,10 @@ static void test_unit_name_from_race(CuTest *tc) {
static void test_update_monster_name(CuTest *tc) { static void test_update_monster_name(CuTest *tc) {
unit *u; unit *u;
struct locale *lang;
race *rc; race *rc;
test_setup(); test_setup();
rc = test_create_race("human"); rc = test_create_race("human");
lang = test_create_locale();
u = test_create_unit(test_create_faction(rc), test_create_region(0, 0, NULL)); u = test_create_unit(test_create_faction(rc), test_create_region(0, 0, NULL));
unit_setname(u, "Hodor"); unit_setname(u, "Hodor");