forked from github/server
eliminate warning (unused variable)
This commit is contained in:
parent
09dc31f986
commit
df5eaa6ef2
|
@ -10,6 +10,7 @@ $BUILD/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
|||
fi
|
||||
}
|
||||
|
||||
set -e
|
||||
[ -z $BUILD ] && BUILD=Debug ; export BUILD
|
||||
s/cmake-init
|
||||
s/build
|
||||
|
|
|
@ -521,12 +521,10 @@ static void test_shipspeed_damage(CuTest *tc) {
|
|||
static void test_shipspeed(CuTest *tc) {
|
||||
ship *sh;
|
||||
const ship_type *stype;
|
||||
region *r;
|
||||
unit *cap, *crew;
|
||||
|
||||
test_cleanup();
|
||||
sh = setup_ship();
|
||||
r = sh->region;
|
||||
stype = sh->type;
|
||||
|
||||
CuAssertIntEquals_Msg(tc, "ship without a captain cannot move", 0, shipspeed(sh, NULL));
|
||||
|
|
Loading…
Reference in New Issue