Commit f33796be authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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.
No related merge requests found
Showing with 0 additions and 6 deletions
+0 -6
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment