-
Type:
Bug
-
Resolution: Done
-
Priority:
Trivial - P5
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
ALL
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
Value returned from a function is not checked for errors before being used
Defect 73575 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/db/storage/record_store_test_randomiter.cpp
Function mongo::UnitTest_RecordStoreTestHarness_GetRandomIteratorSingleton::_doTest()
/src/mongo/db/storage/record_store_test_randomiter.cpp, line: 170
Calling "restore" without checking return value (as is done elsewhere 7 out of 14 times).
cursor->restore();