From 2c18bb45082fe670a8e7a954e1f54feb26123ab6 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 3 May 2021 20:31:39 -0400 Subject: [PATCH] Make it overt that this can't return without a value. --- Machines/Sinclair/Keyboard/Keyboard.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Machines/Sinclair/Keyboard/Keyboard.cpp b/Machines/Sinclair/Keyboard/Keyboard.cpp index f0cd23b39..240c8f5e6 100644 --- a/Machines/Sinclair/Keyboard/Keyboard.cpp +++ b/Machines/Sinclair/Keyboard/Keyboard.cpp @@ -280,6 +280,7 @@ const uint16_t *CharacterMapper::sequence_for_character(char character) const { case Machine::ZX81: return table_lookup_sequence_for_character(zx81_key_sequences, character); + default: case Machine::ZXSpectrum: return table_lookup_sequence_for_character(spectrum_key_sequences, character); }