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
1 changed files with 3 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue