diff options
author | Simon Wenner <simon@wenner.ch> | 2018-10-24 22:20:05 +0200 |
---|---|---|
committer | Simon Wenner <simon@wenner.ch> | 2018-10-25 20:38:17 +0200 |
commit | 9fcf9ee813d792b3852cdb478f27f36ebae3b019 (patch) | |
tree | 95837766791daf71c80b009c489dc9985e506292 /servers/visual/shader_language.cpp | |
parent | bf957a414a27372aaee1aec4ae1a532f76614551 (diff) |
fixed uninitialized variables and false positives found by CppCheck
Diffstat (limited to 'servers/visual/shader_language.cpp')
-rw-r--r-- | servers/visual/shader_language.cpp | 2 |
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(); |