[SERVER-41176] Coverity analysis defect 112946: PW.PARAMETER_HIDDEN Created: 16/May/19  Updated: 29/Oct/23  Resolved: 20/May/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.12

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2019-05-20
Participants:

 Description   

PW.PARAMETER_HIDDEN

Defect 112946 (STATIC_C)
Checker PW.PARAMETER_HIDDEN (subcategory none)
File: /src/mongo/db/catalog/index_catalog_impl.cpp
Parse Warning (no function name available)
/src/mongo/db/catalog/index_catalog_impl.cpp, line: 863
declaration hides parameter "includeUnfinishedIndexes" (declared at line 780)

            const bool includeUnfinishedIndexes = true;



 Comments   
Comment by Githook User [ 20/May/19 ]

Author:

{'name': 'Dianna', 'email': 'dianna.hohensee@10gen.com', 'username': 'DiannaHohensee'}

Message: SERVER-41176 Remove redeclaration of variable in a sub-scope of IndexCatalogImpl::_doesSpecConflictWithExisting()
Branch: master
https://github.com/mongodb/mongo/commit/793e28d328de4bfff72414becf6ccc7c291cecb3

Generated at Thu Feb 08 04:57:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.