mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +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_SCOPE_END"}
|
||||
};
|
||||
#endif
|
||||
|
||||
void DumpLiteral(SQObjectPtr &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
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
SQFuncState::SQFuncState(SQSharedState *ss,SQFuncState *parent,CompilerErrorFunc efunc,void *ed)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user