diff --git a/src/winio.c b/src/winio.c
index ec3838aee33c175ebf5bc478633729ae95f54d85..d2a0e164eb082550579e9905f2c0342f3dedd586 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -1316,12 +1316,6 @@ int get_byte_kbinput(int kbinput)
 				 * Return this character as the result. */
 				retval = kbinput;
 			break;
-		default:
-			/* If there are more than three digits, return this
-			 * character as the result.  (Maybe we should produce an
-			 * error instead?) */
-			retval = kbinput;
-			break;
 	}
 
 	/* If we have a result, reset the counter and the byte holder. */