From: Alan Cox Date: Fri, 14 Nov 2014 16:17:03 +0000 (+0000) Subject: binman: Clean crap out of tools binman version X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e37778fa64bd9ea21f1a0aea8bec4268aeb69fca;p=FUZIX.git binman: Clean crap out of tools binman version --- diff --git a/Library/tools/binman.c b/Library/tools/binman.c index 3daca8fc..d6160842 100644 --- a/Library/tools/binman.c +++ b/Library/tools/binman.c @@ -21,19 +21,11 @@ static unsigned int 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"); @@ -55,7 +47,6 @@ static void ProcessMap(FILE *fp) int main(int argc, char *argv[]) { FILE *map, *bin; - int tail; if (argc != 4) { fprintf(stderr, "%s: [binary] [map] [output]\n", argv[0]);