Coverity analysis defect 72615: Unchecked return value

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding E (01/08/16), Sharding F (01/29/16)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      Defect 72615 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/s/strategy.cpp
      Function mongo::Strategy::clientCommandOp(mongo::Request &)
      /src/mongo/s/strategy.cpp, line: 322
      Calling "forceRemoteCheckShardVersionCB" without checking return value (as is done elsewhere 1 out of 2 times).

                          if( loops < 4 ) versionManager.forceRemoteCheckShardVersionCB( staleNS );
      

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: