summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-12-15 17:06:32 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-12-15 17:06:32 +0100
commit8d5f4f216097b35505fb5bee3ac688751e0403de (patch)
treeddcfb24872751cc9d47e74673f67bff41dcd4b82 /src
parentMerge pull request #2748 from cuberite/fix_memory_leak (diff)
downloadcuberite-8d5f4f216097b35505fb5bee3ac688751e0403de.tar
cuberite-8d5f4f216097b35505fb5bee3ac688751e0403de.tar.gz
cuberite-8d5f4f216097b35505fb5bee3ac688751e0403de.tar.bz2
cuberite-8d5f4f216097b35505fb5bee3ac688751e0403de.tar.lz
cuberite-8d5f4f216097b35505fb5bee3ac688751e0403de.tar.xz
cuberite-8d5f4f216097b35505fb5bee3ac688751e0403de.tar.zst
cuberite-8d5f4f216097b35505fb5bee3ac688751e0403de.zip
Diffstat (limited to 'src')
-rw-r--r--src/Bindings/ManualBindings.h2
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)