Remove redundant Variant-types initializations

This commit is contained in:
Markus Sauermann
2022-11-14 18:21:06 +01:00
parent 963ffd8b94
commit 3b14f0334c
52 changed files with 118 additions and 118 deletions

View File

@@ -336,7 +336,7 @@ Dictionary CodeHighlighter::_get_line_syntax_highlighting_impl(int p_line) {
}
String word = str.substr(j, to - j);
Color col = Color();
Color col;
if (keywords.has(word)) {
col = keywords[word];
} else if (member_keywords.has(word)) {