summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-01-14 20:04:47 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-01-16 12:59:18 -0200
commit9c69d7f3392249d26236dcb33bee7de8f283dc28 (patch)
tree763d38e46df4458c46b9766cee3f273d1f2ac897 /scene/gui/text_edit.cpp
parent9c1768836f25e780a7ef51a1d18a0a15e0b55e42 (diff)
Appease some CppCheck warns for files in the "scene" directory
Diffstat (limited to 'scene/gui/text_edit.cpp')
-rw-r--r--scene/gui/text_edit.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index 19c054fa43..09fbb39866 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -3811,7 +3811,6 @@ Vector<String> TextEdit::get_wrap_rows_text(int p_line) const {
if (indent_ofs + word_px > wrap_at) {
// not enough space; add it anyway
wrap_substring += word_str;
- px += word_px;
word_str = "";
word_px = 0;
}