diff options
Diffstat (limited to 'src/symbol_table.c')
-rw-r--r-- | src/symbol_table.c | 1 |
1 files changed, 0 insertions, 1 deletions
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[]) { | |||
47 | 47 | ||
48 | int glo_get_addr(const char name[]) { | 48 | int glo_get_addr(const char name[]) { |
49 | int count; | 49 | int count; |
50 | |||
51 | for (count = 0; count < glo_symbol_table.size; count++) { | 50 | for (count = 0; count < glo_symbol_table.size; count++) { |
52 | if (!strcmp(glo_symbol_table.entries[count].name, name)) { | 51 | if (!strcmp(glo_symbol_table.entries[count].name, name)) { |
53 | return glo_symbol_table.entries[count].addr; | 52 | return glo_symbol_table.entries[count].addr; |