From 2853735c52af4146a09988687cff2575fb4941ac Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Sun, 18 Mar 2018 04:45:37 +0100 Subject: [PATCH] remove unreachable code --- OLEDDisplay.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OLEDDisplay.h b/OLEDDisplay.h index 9326323..c0ad6b3 100644 --- a/OLEDDisplay.h +++ b/OLEDDisplay.h @@ -308,8 +308,8 @@ class OLEDDisplay : public Print { LASTCHAR = ch; switch (last) { // conversion depnding on first UTF8-character - case 0xC2: return (uint8_t) ch; break; - case 0xC3: return (uint8_t) (ch | 0xC0); break; + case 0xC2: return (uint8_t) ch; + case 0xC3: return (uint8_t) (ch | 0xC0); case 0x82: if (ch == 0xAC) return (uint8_t) 0x80; // special case Euro-symbol }