summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-25 21:12:14 +0200
committerGitHub <noreply@github.com>2018-10-25 21:12:14 +0200
commiteeee47196c19dc271d6fcf8981946a1a29efd16a (patch)
tree24c683fb89c07dc38dcea3ed8e60d277a52517a1 /servers
parentaa6876df5068141014930052428df4bbbd549ca5 (diff)
parent9fcf9ee813d792b3852cdb478f27f36ebae3b019 (diff)
Merge pull request #23262 from swenner/more-cppcheck-fixes
More cppcheck fixes, fixes #22702
Diffstat (limited to 'servers')
-rw-r--r--servers/visual/shader_language.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp
index d52e121a13..e2db89e699 100644
--- a/servers/visual/shader_language.cpp
+++ b/servers/visual/shader_language.cpp
@@ -2498,7 +2498,7 @@ bool ShaderLanguage::_get_completable_identifier(BlockNode *p_block, CompletionT
identifier = StringName();
- TkPos pos;
+ TkPos pos = { 0, 0 };
Token tk = _get_token();