mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-29 07:19:43 +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,10 +8262,9 @@ namespace pugi
|
||||
|
||||
return parse_relative_location_path(n);
|
||||
}
|
||||
else
|
||||
{
|
||||
return parse_relative_location_path(0);
|
||||
}
|
||||
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user