Skip to content

Commit

Permalink
Fixed a potentiel non initialized data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackvoxel committed Aug 5, 2021
1 parent 5c66d6c commit 0414c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZVoxelType_ProgRobot_Remote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ void ZVoxelType_ProgRobot_Remote::ActiveProcess( ZActiveVoxelInterface * AvData)
if (Parser.Command=="get_look")
{

UShort Direction;
UShort Direction=0;
ZString DirTextParameter, ReturnInfo;

if (Parser.FindEntryText((char *)"dir",DirTextParameter))
Expand Down

0 comments on commit 0414c1d

Please sign in to comment.