From 8ebea783f4b32c6ff4bb3771a28127676aeb9bad Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 12 Apr 2017 16:30:27 +0200 Subject: Initialize local variables. --- libevmasm/AssemblyItem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libevmasm') diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp index 55130f28..e69b5932 100644 --- a/libevmasm/AssemblyItem.cpp +++ b/libevmasm/AssemblyItem.cpp @@ -163,8 +163,8 @@ string AssemblyItem::toAssemblyText() const break; case PushTag: { - size_t sub; - size_t tag; + size_t sub{0}; + size_t tag{0}; tie(sub, tag) = splitForeignPushTag(); if (sub == size_t(-1)) text = string("tag_") + to_string(tag); -- cgit v1.2.3