Coverity analysis defect 99831: Unchecked return value

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Repl 18 (08/05/16), Repl 2016-08-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      Defect 99831 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/db/repl/replication_coordinator_impl.cpp
      Function mongo::repl::ReplicationCoordinatorImpl::WaiterInfoGuard::~WaiterInfoGuard()
      /src/mongo/db/repl/replication_coordinator_impl.cpp, line: 219
      Calling "remove_inlock" without checking return value (as is done elsewhere 1 out of 2 times).

                  _list->remove_inlock(&waiter);
      

            Assignee:
            Siyuan Zhou
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: