mirror of https://github.com/OpenTTD/OpenTTD
(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
parent
ca6c4ee98a
commit
c9a25c88fa
|
@ -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