1
0
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:
Thomas Harte 2021-05-03 20:31:39 -04:00
parent 0cf1c9040a
commit 2c18bb4508

View File

@ -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);
} }