Merge pull request #51947 from AnilBK/redundant-assignments

[cppcheck] Remove some redundant assignments.
This commit is contained in:
Michael Alexsander
2021-08-23 13:23:45 +00:00
committed by GitHub
5 changed files with 3 additions and 9 deletions

View File

@@ -2150,7 +2150,6 @@ void TextEdit::_delete(bool p_word, bool p_all_to_right) {
next_column = column;
} else {
// Delete one character
next_column = caret.column < curline_len ? (caret.column + 1) : 0;
if (caret_mid_grapheme_enabled) {
next_column = caret.column < curline_len ? (caret.column + 1) : 0;
} else {