Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
ALL
-
Platform 9 (09/18/15)
Description
Value returned from a function is not checked for errors before being used
Defect 72818 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/client/replica_set_monitor.cpp
Function mongo::<unnamed>::ReplicaSetMonitorWatcher::run()
/src/mongo/client/replica_set_monitor.cpp, line: 130
Calling "wait_for" without checking return value (as is done elsewhere 7 out of 10 times).
_stopRequestedCV.wait_for(sl, stdx::chrono::seconds(10));
|
File: /src/mongo/client/replica_set_monitor.cpp
Function mongo::<unnamed>::ReplicaSetMonitorWatcher::run()
/src/mongo/client/replica_set_monitor.cpp, line: 154
Calling "wait_for" without checking return value (as is done elsewhere 7 out of 10 times).
_stopRequestedCV.wait_for(sl, stdx::chrono::seconds(10));
|