From e37778fa64bd9ea21f1a0aea8bec4268aeb69fca Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 14 Nov 2014 16:17:03 +0000 Subject: [PATCH] binman: Clean crap out of tools binman version --- Library/tools/binman.c | 9 --------- 1 file changed, 9 deletions(-) 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]); -- 2.34.1