Removes the user prompt on duplicate case in switch statement.

git-svn-id: https://svn.eduke32.com/eduke32@594 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2008-01-04 18:46:58 +00:00
parent 00971ca89a
commit 2fc1832cab

View file

@ -3786,7 +3786,7 @@ repeatcase:
for (i=0;i<casecount/2;i++) for (i=0;i<casecount/2;i++)
if (casescriptptr[i*2+1]==j) if (casescriptptr[i*2+1]==j)
{ {
warning++; //warning++;
ReportError(WARNING_DUPLICATECASE); ReportError(WARNING_DUPLICATECASE);
break; break;
} }