From bc7783a4ab48922cd7a9ee7ec95e76b635cf52e5 Mon Sep 17 00:00:00 2001 From: fdai7184 Date: Fri, 10 Feb 2023 21:06:52 +0100 Subject: [PATCH] refactoring:delete unreachable statements --- src/input.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/input.c b/src/input.c index 45f2c5b..5da51bf 100644 --- a/src/input.c +++ b/src/input.c @@ -28,16 +28,12 @@ char getInput(){ switch(key){ case 'A': return 'u'; - break; case 'B': return 'd'; - break; case 'C': return 'r'; - break; case 'D': return 'l'; - break; } } else{