diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 79614cb..8f93819 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -6132,7 +6132,7 @@ namespace pugi { xml_node found = *this; // Current search context. - if (!_root || !path_ || !path_[0]) return found; + if (!_root || !path_[0]) return found; if (path_[0] == delimiter) {