Coverity analysis defect 72759: Unchecked return value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • Fully Compatible
    • ALL
    • Platforms 17 (07/15/16)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      Defect 72759 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/executor/network_interface_impl.cpp
      Function mongo::executor::NetworkInterfaceImpl::waitForWorkUntil(mongo::Date_t)
      /src/mongo/executor/network_interface_impl.cpp, line: 162
      Calling "wait_for" without checking return value (as is done elsewhere 7 out of 13 times).

                      _isExecutorRunnableCondition.wait_for(lk, waitTime);
      

            Assignee:
            Waley Chen (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: