From 66dd7e2320fa6304700f49040210848b57174aa2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 13 Oct 2015 23:27:13 +0200 Subject: [PATCH] eliminate unused variable warning (gcc) --- src/piracy.test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/piracy.test.c b/src/piracy.test.c index 9074c1e33..53907f4df 100644 --- a/src/piracy.test.c +++ b/src/piracy.test.c @@ -18,7 +18,6 @@ static void setup_piracy(void) { struct locale *lang; - terrain_type *t_ocean; ship_type *st_boat; test_cleanup(); @@ -26,7 +25,7 @@ static void setup_piracy(void) { lang = get_or_create_locale("de"); locale_setstring(lang, directions[D_EAST], "OSTEN"); 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->cargo = 1000; }