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
Günther Brammer 2015-12-17 16:45:56 +01:00
parent 4c01592196
commit 6a5b571fe3
1 changed files with 0 additions and 5 deletions

View File

@ -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: