Commit 3004a739 authored by Tsz-Ho Yu's avatar Tsz-Ho Yu

Fix -Wno-sometimes-uninitialized by initializing "result" in parse_sax

The function parse_sax() returns sometimes-uninitialized warnings in
some compilers. This commit fixes that.
parent e33b31e6
......@@ -64,7 +64,7 @@ class binary_reader
const bool strict = true)
{
sax = sax_;
bool result;
bool result = false;
switch (format)
{
......
......@@ -6033,7 +6033,7 @@ class binary_reader
const bool strict = true)
{
sax = sax_;
bool result;
bool result = false;
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