From 8931c151f8ab0c1a489952d2a12b749332c3ebac Mon Sep 17 00:00:00 2001 From: EDiasAlberto Date: Wed, 5 Jun 2024 21:02:25 +0100 Subject: [PATCH] removed duped if statement --- src/parser.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/parser.c b/src/parser.c index 8b59239..538dd9d 100644 --- a/src/parser.c +++ b/src/parser.c @@ -79,11 +79,6 @@ a64inst_instruction *parser(char asmLine[]){ return(instr); } - if(strcmp(asmLine, HALT_ASM_CMD) == 0){ - instr->type = a64inst_HALT; - return(instr); - } - //"opcode operand1, {operand2}, ..." //duplicated as strtok modifies the input string char *stringptr = strdup(asmLine);