From: Holger Schemel Date: Thu, 20 Oct 2022 16:17:48 +0000 (+0200) Subject: removed redundant initialization X-Git-Tag: 4.3.3.0~47 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5c2539d560c73b8c8b5679e84675a6ec5401eec5;p=rocksndiamonds.git removed redundant initialization This issue was found by Cppcheck (static C/C++ code analysis tool). --- diff --git a/src/editor.c b/src/editor.c index b2bb56b9..4cbaf83a 100644 --- a/src/editor.c +++ b/src/editor.c @@ -12621,7 +12621,7 @@ static int DrawLevelText(int sx, int sy, char letter, int mode) static int start_sx; static int last_sx, last_sy; static boolean typing = FALSE; - int letter_element = EL_CHAR_ASCII0 + letter; + int letter_element; int lx = 0, ly = 0; // map lower case letters to upper case and convert special characters