Merge branch 'soc-sanitizing' into 'next'

SOC sanitizing

See merge request STJr/SRB2!227
This commit is contained in:
Monster Iestyn 2018-03-04 14:07:30 -05:00
commit 4fdb82c942

View file

@ -1860,7 +1860,6 @@ static void readframe(MYFILE *f, INT32 num)
char *word1;
char *word2 = NULL;
char *tmp;
INT32 j;
do
{
@ -1875,16 +1874,6 @@ static void readframe(MYFILE *f, INT32 num)
if (s == tmp)
continue; // Skip comment lines, but don't break.
for (j = 0; s[j] != '\n'; j++)
{
if (s[j] == '=')
{
j += 2;
j = atoi(&s[j]);
break;
}
}
word1 = strtok(s, " ");
if (word1)
strupr(word1);