mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-28 21:49:27 +00:00
Make it overt that this can't return without a value.
This commit is contained in:
parent
0cf1c9040a
commit
2c18bb4508
@ -280,6 +280,7 @@ const uint16_t *CharacterMapper::sequence_for_character(char character) const {
|
|||||||
case Machine::ZX81:
|
case Machine::ZX81:
|
||||||
return table_lookup_sequence_for_character(zx81_key_sequences, character);
|
return table_lookup_sequence_for_character(zx81_key_sequences, character);
|
||||||
|
|
||||||
|
default:
|
||||||
case Machine::ZXSpectrum:
|
case Machine::ZXSpectrum:
|
||||||
return table_lookup_sequence_for_character(spectrum_key_sequences, character);
|
return table_lookup_sequence_for_character(spectrum_key_sequences, character);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user