mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 23:50:25 +00:00
Fix: [MinGW] Unused squirrel code triggering a warning
This commit is contained in:
parent
b7250a42e1
commit
00e3fddd0c
@ -79,7 +79,7 @@ SQInstructionDesc g_InstrDesc[]={
|
|||||||
{"_OP_NEWSLOTA"},
|
{"_OP_NEWSLOTA"},
|
||||||
{"_OP_SCOPE_END"}
|
{"_OP_SCOPE_END"}
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
void DumpLiteral(SQObjectPtr &o)
|
void DumpLiteral(SQObjectPtr &o)
|
||||||
{
|
{
|
||||||
switch(type(o)){
|
switch(type(o)){
|
||||||
@ -90,6 +90,7 @@ void DumpLiteral(SQObjectPtr &o)
|
|||||||
default: printf("(%s %p)",GetTypeName(o),(void*)_rawval(o));break; break; //shut up compiler
|
default: printf("(%s %p)",GetTypeName(o),(void*)_rawval(o));break; break; //shut up compiler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
SQFuncState::SQFuncState(SQSharedState *ss,SQFuncState *parent,CompilerErrorFunc efunc,void *ed)
|
SQFuncState::SQFuncState(SQSharedState *ss,SQFuncState *parent,CompilerErrorFunc efunc,void *ed)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user