Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18891

Coverity analysis defect 72756: Unchecked return value

    • Fully Compatible
    • ALL
    • RPL 5 06/26/16

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

      Defect 72756 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/db/repl/base_cloner_test_fixture.cpp
      Function mongo::repl::BaseClonerTest::waitForStatus()
      /src/mongo/db/repl/base_cloner_test_fixture.cpp, line: 136
      Calling "wait_for" without checking return value (as is done elsewhere 7 out of 13 times).

                          _setStatusCondition.wait_for(lk, Milliseconds(1000));
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: