Unverified Commit f78ac4fb authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #1200 from thyu/develop

Fix -Wno-sometimes-uninitialized by initializing "result" in parse_sax
parents e33b31e6 3004a739
...@@ -64,7 +64,7 @@ class binary_reader ...@@ -64,7 +64,7 @@ class binary_reader
const bool strict = true) const bool strict = true)
{ {
sax = sax_; sax = sax_;
bool result; bool result = false;
switch (format) switch (format)
{ {
......
...@@ -6033,7 +6033,7 @@ class binary_reader ...@@ -6033,7 +6033,7 @@ class binary_reader
const bool strict = true) const bool strict = true)
{ {
sax = sax_; sax = sax_;
bool result; bool result = false;
switch (format) switch (format)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment