[thin_dump] bug in last bug fix

This commit is contained in:
Joe Thornber 2013-06-28 14:24:39 +01:00
parent fe8e1592a9
commit e701b96642

View File

@ -51,7 +51,7 @@ namespace {
return false;
}
return loc.is_sub_root() ? (loc.path[0] == dev_id_) : true;
return (loc.is_sub_root() && loc.path.size()) ? (loc.path[0] == dev_id_) : true;
}
bool visit_internal_leaf(node_location const &loc,