Coverity analysis defect 73618: Unchecked return value

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      Defect 73618 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/s/balance.cpp
      Function mongo::Balancer::_init(mongo::OperationContext *)
      /src/mongo/s/balance.cpp, line: 451
      Calling "_checkOIDs" without checking return value (as is done elsewhere 1 out of 2 times).

                  _checkOIDs(txn);
      

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: