From c29b616f937f975f87f4ba6613146fd4c339f89c Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Thu, 18 Feb 2021 16:33:06 +0100 Subject: [PATCH] Fix forgotten initialization of `lexerState->isReferenced` --- src/asm/lexer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/asm/lexer.c b/src/asm/lexer.c index e98c2841..9ff949e5 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -423,6 +423,7 @@ struct LexerState *lexer_OpenFile(char const *path) close(state->fd); state->isMmapped = true; + state->isReferenced = false; // By default, a state isn't referenced state->ptr = mappingAddr; state->size = fileInfo.st_size; state->offset = 0;