Skip to content

Commit 3cdedc5

Browse files
authored
Merge pull request #184 from Rotzbua/rm_unreachable_code
remove unreachable code
2 parents d5cada2 + 2853735 commit 3cdedc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OLEDDisplay.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ class OLEDDisplay : public Print {
311311
LASTCHAR = ch;
312312

313313
switch (last) { // conversion depnding on first UTF8-character
314-
case 0xC2: return (uint8_t) ch; break;
315-
case 0xC3: return (uint8_t) (ch | 0xC0); break;
314+
case 0xC2: return (uint8_t) ch;
315+
case 0xC3: return (uint8_t) (ch | 0xC0);
316316
case 0x82: if (ch == 0xAC) return (uint8_t) 0x80; // special case Euro-symbol
317317
}
318318

0 commit comments

Comments
 (0)