Use WZ_DECL_UNUSED to inhibit warnings about unused parameters

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4671 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-04-17 20:29:19 +00:00
parent af07a3fda7
commit 1e0ef48650
1 changed files with 2 additions and 2 deletions

View File

@ -109,12 +109,12 @@ static inline int objSensorPower(const BASE_OBJECT* psObj)
return psObj->sensorPower;
}
static inline int objJammerPower(const BASE_OBJECT* psObj)
static inline int objJammerPower(WZ_DECL_UNUSED const BASE_OBJECT* psObj)
{
return 0;
}
static inline int objJammerRange(const BASE_OBJECT* psObj)
static inline int objJammerRange(WZ_DECL_UNUSED const BASE_OBJECT* psObj)
{
return 0;
}