From 9fcf9ee813d792b3852cdb478f27f36ebae3b019 Mon Sep 17 00:00:00 2001 From: Simon Wenner Date: Wed, 24 Oct 2018 22:20:05 +0200 Subject: fixed uninitialized variables and false positives found by CppCheck --- servers/visual/shader_language.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers/visual/shader_language.cpp') 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(); -- cgit v1.2.3