Skip to content

Commit

Permalink
Initialize local variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Apr 12, 2017
1 parent 4d715e9 commit 8ebea78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libevmasm/AssemblyItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8ebea78

Please sign in to comment.