forked from Mirrors/openclonk
Drop warning about trailing comma at the end of a parameter list
A trailing comma does not change the behaviour of a function call, so it is totally harmless.epoxy
parent
4c01592196
commit
6a5b571fe3
|
@ -1706,11 +1706,6 @@ int C4AulParse::Parse_Params(int iMaxCnt, const char * sWarn, C4AulFunc * pFunc)
|
|||
{
|
||||
case ATT_BCLOSE:
|
||||
Shift();
|
||||
if (size > 0)
|
||||
{
|
||||
if (sWarn && Config.Developer.ExtraWarnings)
|
||||
Warn(FormatString("parameter %d of call to %s is empty", size, sWarn).getData(), NULL);
|
||||
}
|
||||
fDone = true;
|
||||
break;
|
||||
case ATT_COMMA:
|
||||
|
|
Loading…
Reference in New Issue