Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
bugfix: uninitialized variable in gbnl parser
Browse files Browse the repository at this point in the history
  • Loading branch information
u3shit committed Jul 20, 2016
1 parent 5c56a92 commit a45e691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format/gbnl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void Gbnl::Parse_(Source& src)
//std::vector<uint16_t> offsets;
//offsets.reserve(foot.count_types);
Struct::TypeBuilder bld;
bool uint8_in_progress;
bool uint8_in_progress = false;
for (size_t i = 0; i < foot.count_types; ++i)
{
auto type = src.ReadGen<TypeDescriptor>();
Expand Down

0 comments on commit a45e691

Please sign in to comment.