From: Will Sowerbutts Date: Mon, 5 Jan 2015 00:49:12 +0000 (+0000) Subject: binman: Remove redundant code X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ed2e772dc975ae3180b207f3850027829b998a28;p=FUZIX.git binman: Remove redundant code --- diff --git a/Kernel/tools/binman.c b/Kernel/tools/binman.c index a29ea2d1..8aeff896 100644 --- a/Kernel/tools/binman.c +++ b/Kernel/tools/binman.c @@ -15,18 +15,10 @@ static unsigned int s__CODE, s__CODE2, s__INITIALIZER, s__DATA, static void ProcessMap(FILE * fp) { char buf[512]; - int addr = 0; - int naddr; - char name[100]; - char nname[100]; - int hogs = 0; while (fgets(buf, 511, fp)) { char *p1 = strtok(buf, " \t\n"); char *p2 = NULL; - int match = 0; - - match = memcmp(buf, " 000", 8); if (p1) p2 = strtok(NULL, " \t\n");