diff --git a/src/emulation.c b/src/emulation.c
index 77c8221..5a17be3 100644
--- a/src/emulation.c
+++ b/src/emulation.c
@@ -21,11 +21,8 @@ emul_and(rk65c02emu_t *e, void *id, instruction_t *i)
 void
 emul_asl(rk65c02emu_t *e, void *id, instruction_t *i)
 {
-	bool ncarry;
 	uint8_t val;
 
-	ncarry = false;
-
 	val = instruction_data_read_1(e, (instrdef_t *) id, i);
 
 	/* carry flag value equals contents of bit 7 */