Merge pull request #1200 from thyu/develop
Fix -Wno-sometimes-uninitialized by initializing "result" in parse_sax
This commit is contained in:
commit
f78ac4fbd3
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
const bool strict = true)
|
const bool strict = true)
|
||||||
{
|
{
|
||||||
sax = sax_;
|
sax = sax_;
|
||||||
bool result;
|
bool result = false;
|
||||||
|
|
||||||
switch (format)
|
switch (format)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue