Coverity analysis defect 73579: 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 73579 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/s/strategy.cpp
      Function mongo::Strategy::clientCommandOp(mongo::OperationContext *, mongo::Request &)
      /src/mongo/s/strategy.cpp, line: 388
      Calling "forceRemoteCheckShardVersionCB" without checking return value (as is done elsewhere 1 out of 2 times).

                          versionManager.forceRemoteCheckShardVersionCB(txn, staleNS);
      

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

              Created:
              Updated:
              Resolved: