summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-08-03 13:41:33 +1200
committerDavid Phillips <david@sighup.nz>2019-08-03 14:00:37 +1200
commitf0f5c379513ada7482aa4ead08df1043e9c7d267 (patch)
treeca31b963649513642d2b7dd05ef7ace19a9b48e7 /parse.c
parent28d6a88c02f10b75fb4c5cb46178d2ef71629494 (diff)
downloadtoy-cpu-assembler-f0f5c379513ada7482aa4ead08df1043e9c7d267.tar.xz
Enable -Wall and -Wextra, fix warnings
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 5da5b61..45758c9 100644
--- a/parse.c
+++ b/parse.c
@@ -474,7 +474,6 @@ int parse_instruction(void)
int parse(const char *filename_local, FILE* fd_local, struct label **labels_local, size_t *labels_count_local, struct token *tokens_local, size_t tokens_count_local, struct instruction **instructions, size_t *instructions_count)
{
int ret = 0;
- size_t i = 0;
filename = filename_local;
fd = fd_local;
tokens = tokens_local;