mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-31 00:13:01 +08:00
Added gcc 4.0.1 bogus warning workaround
git-svn-id: http://pugixml.googlecode.com/svn/trunk@710 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
42f36f1a7d
commit
bfbf61ba93
@ -8262,11 +8262,10 @@ namespace pugi
|
||||
|
||||
return parse_relative_location_path(n);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
// else clause moved outside of if because of bogus warning 'control may reach end of non-void function being inlined' in gcc 4.0.1
|
||||
return parse_relative_location_path(0);
|
||||
}
|
||||
}
|
||||
|
||||
// PathExpr ::= LocationPath
|
||||
// | FilterExpr
|
||||
|
Loading…
x
Reference in New Issue
Block a user