diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-04-08 18:21:08 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-04-24 14:04:18 +0200 |
commit | 4616de0c5d6bcf4abe637e515eae2064e8f054a5 (patch) | |
tree | 1bc832561d2bb3e8a762a0891165d1e004172609 /scene | |
parent | 08b825396f21d6fd9fcf0f68d0afda6e5285d704 (diff) |
Fix CI build error
Fixes potential use of uninitialized variable.
(cherry picked from commit 37362202a48f6ee731e14e47579979509bc23017)
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/code_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index 91c4fa3761..ca5e9b401c 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -1968,7 +1968,7 @@ void CodeEdit::confirm_code_completion(bool p_replace) { return; } - char32_t caret_last_completion_char; + char32_t caret_last_completion_char = 0; begin_complex_operation(); Vector<int> caret_edit_order = get_caret_index_edit_order(); for (const int &i : caret_edit_order) { |