Merge pull request #2749 from cuberite/wrng
Fixed warning regarding an uninitialized value
This commit is contained in:
commit
5ca4c5272e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user