Coverity analysis defect 73038: Unchecked return value

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • QuInt 8 08/28/15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Value returned from a function is not checked for errors before being used

      Defect 73038 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/db/query/plan_executor.cpp
      Function mongo::PlanExecutor::getNextImpl(mongo::Snapshotted<mongo::BSONObj> *, mongo::RecordId *)
      /src/mongo/db/query/plan_executor.cpp, line: 372
      Calling "yield" without checking return value (as is done elsewhere 2 out of 4 times).

                      _yieldPolicy->yield(fetcher.get());
      

            Assignee:
            David Storch
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: