From ad8c51ab8f9dd7117b303c137e46d93ee754ec09 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Wed, 21 Feb 2018 22:45:51 +0000 Subject: [PATCH] removing stupid dumb useless code fish --- src/dehacked.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/dehacked.c b/src/dehacked.c index b7e874b16..365241084 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -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);