...
BugZero found this defect 2801 days ago.
PW.PARAMETER_HIDDEN Defect 101665 (STATIC_C) Checker PW.PARAMETER_HIDDEN (subcategory none) File: /src/mongo/executor/connection_pool_test_fixture.cpp Parse Warning (no function name available) /src/mongo/executor/connection_pool_test_fixture.cpp, line: 212 declaration hides parameter "cb" (declared at line 196) auto cb = connPtr->_refreshCallback;
ramon.fernandez commented on Thu, 24 Aug 2017 13:44:30 +0000: Author: {'username': u'acmorrow', 'name': u'Andrew Morrow', 'email': u'acm@mongodb.com'} Message:SERVER-29530 Fix variable shadowing in conn pool test fixture Branch:master https://github.com/mongodb/mongo/commit/693f7c656aaea0f96af0032a46953a407a58eae9 jason.carey commented on Fri, 9 Jun 2017 14:30:41 +0000: This is on the trivial end. There's no unintentional shadowing going on (so there's no bug here), but it is bad style.