Coverity analysis defect 72756: Unchecked return value

XMLWordPrintableJSON

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

      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
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: