codetools: fixed uninitialized params

git-svn-id: trunk@41914 -
This commit is contained in:
mattias 2013-06-27 07:22:58 +00:00
parent 5b38f381dd
commit a411d10198

View File

@ -3793,6 +3793,10 @@ begin
DebugLn('TCodeToolManager.CompleteCode A ',Code.Filename);
{$ENDIF}
Result:=false;
NewX := 0;
NewY := 0;
NewTopLine := 0;
NewCode := NIL;
if not InitCurCodeTool(Code) then exit;
CursorPos.X:=X;
CursorPos.Y:=Y;