mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
Fix gcc 7.1.0 warnings
git-svn-id: https://svn.eduke32.com/eduke32@6370 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
60098c45d6
commit
dad337add8
25 changed files with 141 additions and 24 deletions
|
@ -326,6 +326,7 @@ int32_t SCRIPT_ParseBuffer(int32_t scripthandle, char *data, int32_t length)
|
|||
case ParsingSectionBegin:
|
||||
currentsection = dp = sp;
|
||||
state = ParsingSectionName;
|
||||
fallthrough__;
|
||||
case ParsingSectionName:
|
||||
LETTER();
|
||||
switch (ch)
|
||||
|
@ -360,6 +361,7 @@ int32_t SCRIPT_ParseBuffer(int32_t scripthandle, char *data, int32_t length)
|
|||
EATLINE(sp);
|
||||
printf("Unexpected comment on line %d.\n", linenum);
|
||||
SETRV(-1);
|
||||
fallthrough__;
|
||||
case '\n':
|
||||
case '\r':
|
||||
// Unexpected newline
|
||||
|
@ -385,6 +387,7 @@ int32_t SCRIPT_ParseBuffer(int32_t scripthandle, char *data, int32_t length)
|
|||
case ParsingValueBegin:
|
||||
currentvalue = dp = sp;
|
||||
state = ParsingValue;
|
||||
fallthrough__;
|
||||
case ParsingValue:
|
||||
LETTER();
|
||||
switch (ch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue