summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_planner_common.h')
-rw-r--r--src/mongo/db/query/query_planner_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_planner_common.h b/src/mongo/db/query/query_planner_common.h
index 94c1c88ed18..7be7328716b 100644
--- a/src/mongo/db/query/query_planner_common.h
+++ b/src/mongo/db/query/query_planner_common.h
@@ -48,7 +48,6 @@ namespace mongo {
for (size_t i = 0; i < root->numChildren(); ++i) {
if (hasNode(root->getChild(i), type)) {
- *out = root->getChild(i);
return true;
}
}