diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-30 05:17:21 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-30 05:17:21 +0000 |
commit | bfbf61ba938554f9265cccee01f9f6b62ea6d534 (patch) | |
tree | a2c87d11bc2b2b348a865d2e44c2ba61fed69bd2 | |
parent | 42f36f1a7dd89c239587310873087e7401beafa4 (diff) |
Added gcc 4.0.1 bogus warning workaround
git-svn-id: http://pugixml.googlecode.com/svn/trunk@710 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r-- | src/pugixml.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 0b31cf1..b6d25a7 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -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 |