Browse Source

refactoring:delete unreachable statements

main
fdai7184 2 years ago
parent
commit
bc7783a4ab
  1. 4
      src/input.c

4
src/input.c

@ -28,16 +28,12 @@ char getInput(){
switch(key){ switch(key){
case 'A': case 'A':
return 'u'; return 'u';
break;
case 'B': case 'B':
return 'd'; return 'd';
break;
case 'C': case 'C':
return 'r'; return 'r';
break;
case 'D': case 'D':
return 'l'; return 'l';
break;
} }
} }
else{ else{

Loading…
Cancel
Save