From 628b18fb15ee3d6633c73d404f109d01f0a7ece2 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Sun, 3 Jun 2018 13:37:00 +0200 Subject: .bss section management (globals) --- src/symbol_table.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/symbol_table.c') diff --git a/src/symbol_table.c b/src/symbol_table.c index 8e6db97..6dc3e64 100644 --- a/src/symbol_table.c +++ b/src/symbol_table.c @@ -47,7 +47,6 @@ int glo_lookup(const char name[]) { int glo_get_addr(const char name[]) { int count; - for (count = 0; count < glo_symbol_table.size; count++) { if (!strcmp(glo_symbol_table.entries[count].name, name)) { return glo_symbol_table.entries[count].addr; -- cgit v1.2.3