...
BugZero found this defect 2691 days ago.
PW.PARAMETER_HIDDEN Defect 101975 (STATIC_C) Checker PW.PARAMETER_HIDDEN (subcategory none) File: /src/mongo/db/catalog/rename_collection.cpp Parse Warning (no function name available) /src/mongo/db/catalog/rename_collection.cpp, line: 218 declaration hides parameter "options" (declared at line 79) CollectionOptions options = sourceColl->getCatalogEntry()->getCollectionOptions(opCtx);
benety.goh commented on Fri, 25 Aug 2017 10:05:01 +0000: This defect was introduced in: Message: SERVER-30212 add RenameCollectionOptions Branch: master https://github.com/mongodb/mongo/commit/512fcfe0cd29d029c586589a3f1577a40123dc65 xgen-internal-githook commented on Fri, 25 Aug 2017 10:02:25 +0000: Author: {'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'} Message: SERVER-30656 renamed CollectionOptions local variable masking parameter name Branch: master https://github.com/mongodb/mongo/commit/08cb122cd8b381a3a73e389262380e54ac0d7ef6