diff options
author | worktycho <work.tycho@gmail.com> | 2015-12-15 17:17:16 +0100 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-12-15 17:17:16 +0100 |
commit | 5ca4c5272ef8e30327cd3581d6002507067272b5 (patch) | |
tree | ddcfb24872751cc9d47e74673f67bff41dcd4b82 | |
parent | Merge pull request #2748 from cuberite/fix_memory_leak (diff) | |
parent | Fixed warning regarding an uninitialized value (diff) | |
download | cuberite-5ca4c5272ef8e30327cd3581d6002507067272b5.tar cuberite-5ca4c5272ef8e30327cd3581d6002507067272b5.tar.gz cuberite-5ca4c5272ef8e30327cd3581d6002507067272b5.tar.bz2 cuberite-5ca4c5272ef8e30327cd3581d6002507067272b5.tar.lz cuberite-5ca4c5272ef8e30327cd3581d6002507067272b5.tar.xz cuberite-5ca4c5272ef8e30327cd3581d6002507067272b5.tar.zst cuberite-5ca4c5272ef8e30327cd3581d6002507067272b5.zip |
-rw-r--r-- | src/Bindings/ManualBindings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.h b/src/Bindings/ManualBindings.h index e2556bafd..f124084a9 100644 --- a/src/Bindings/ManualBindings.h +++ b/src/Bindings/ManualBindings.h @@ -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) |