tweaks: elide an impossible case

Typing a Unicode code is always finished after at most six characters:
either retval == uni or retval == kbinput, but it can't be ERR.
This commit is contained in:
Benno Schulenberg 2016-06-24 15:51:53 +02:00
parent e679c518b1
commit f33796bee1
1 changed files with 0 additions and 6 deletions

View File

@ -1284,12 +1284,6 @@ long get_unicode_kbinput(int kbinput)
if (retval == ERR)
retval = uni;
break;
default:
/* If there are more than six digits, return this character
* as the result. (Maybe we should produce an error
* instead?) */
retval = kbinput;
break;
}
/* If we have a result, reset the Unicode digit counter and the