1
0

Merge pull request #2749 from cuberite/wrng

Fixed warning regarding an uninitialized value
This commit is contained in:
worktycho 2015-12-15 16:17:16 +00:00
commit 5ca4c5272e

View File

@ -199,7 +199,7 @@ public:
// Get parameters:
Ty1 * Self = nullptr;
UInt32 ItemID;
UInt32 ItemID = 0;
cLuaState::cRef FnRef;
L.GetStackValues(1, Self, ItemID, FnRef);
if (Self == nullptr)