forked from github/server
eliminate unused variable warning (gcc)
This commit is contained in:
parent
a3210aaed7
commit
66dd7e2320
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
static void setup_piracy(void) {
|
static void setup_piracy(void) {
|
||||||
struct locale *lang;
|
struct locale *lang;
|
||||||
terrain_type *t_ocean;
|
|
||||||
ship_type *st_boat;
|
ship_type *st_boat;
|
||||||
|
|
||||||
test_cleanup();
|
test_cleanup();
|
||||||
|
@ -26,7 +25,7 @@ static void setup_piracy(void) {
|
||||||
lang = get_or_create_locale("de");
|
lang = get_or_create_locale("de");
|
||||||
locale_setstring(lang, directions[D_EAST], "OSTEN");
|
locale_setstring(lang, directions[D_EAST], "OSTEN");
|
||||||
init_directions(lang);
|
init_directions(lang);
|
||||||
t_ocean = test_create_terrain("ocean", SAIL_INTO | SEA_REGION);
|
test_create_terrain("ocean", SAIL_INTO | SEA_REGION);
|
||||||
st_boat = test_create_shiptype("boat");
|
st_boat = test_create_shiptype("boat");
|
||||||
st_boat->cargo = 1000;
|
st_boat->cargo = 1000;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue