public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82ad53b
)
binman: Remove redundant code
author
Will Sowerbutts
<will@sowerbutts.com>
Mon, 5 Jan 2015 00:49:12 +0000
(
00:49
+0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Mon, 5 Jan 2015 00:58:17 +0000
(
00:58
+0000)
Kernel/tools/binman.c
patch
|
blob
|
history
diff --git
a/Kernel/tools/binman.c
b/Kernel/tools/binman.c
index
a29ea2d
..
8aeff89
100644
(file)
--- 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");