From 6157e460ab9004867c71ceb3e72c1fbad530928b Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Tue, 7 Apr 2026 10:46:46 -0400 Subject: microscript: remove redundant case in bytecode debug --- uscript/us_debug.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'uscript') diff --git a/uscript/us_debug.c b/uscript/us_debug.c index d31669b..d4c6cdf 100644 --- a/uscript/us_debug.c +++ b/uscript/us_debug.c @@ -46,15 +46,7 @@ int print_instruction(struct us_proto *proto, int idx) case BC_SET_UPVAL: case BC_GET_UPVAL: case BC_SET_LOCAL: - case BC_GET_LOCAL: { - int local_idx = proto->bytecode[idx + 1]; - fprintf( - stderr, - "%d\n", - local_idx - ); - return idx + 2; - } + case BC_GET_LOCAL: case BC_CALL: case BC_SMALL_INT: { fprintf( -- cgit v1.3-2-g0d8e