mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-19 10:26:27 +01:00
(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
This commit is contained in:
parent
ca6c4ee98a
commit
c9a25c88fa
2
src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp
vendored
2
src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp
vendored
@ -21,6 +21,7 @@
|
|||||||
return 1; \
|
return 1; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EXPORT_DEFAULT_SQUIRREL_FUNCTIONS
|
||||||
static SQInteger math_srand(HSQUIRRELVM v)
|
static SQInteger math_srand(HSQUIRRELVM v)
|
||||||
{
|
{
|
||||||
SQInteger i;
|
SQInteger i;
|
||||||
@ -35,6 +36,7 @@ static SQInteger math_rand(HSQUIRRELVM v)
|
|||||||
sq_pushinteger(v,rand());
|
sq_pushinteger(v,rand());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif /* EXPORT_DEFAULT_SQUIRREL_FUNCTIONS */
|
||||||
|
|
||||||
static SQInteger math_abs(HSQUIRRELVM v)
|
static SQInteger math_abs(HSQUIRRELVM v)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user