[SERVER-62387] Coverity analysis defect 121302: Parse warning Created: 06/Jan/22  Updated: 29/Oct/23  Resolved: 13/Jan/22

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Jordi Olivares Provencio
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: Execution Team 2022-01-24
Participants:

 Description   

Parse warning

A parse warning may reduce maintainability of the code, or it may indicate a serious error. A parse warning from the Coverity parser may indicate a bug, or poor coding practice
/src/mongo/db/repl/dbcheck.cpp:449: PW.PARAMETER_HIDDEN 121302 declaration hides parameter "entry" (declared at line 427)



 Comments   
Comment by Githook User [ 12/Jan/22 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-62387 Rename variable to avoid hiding original function parameter
Branch: master
https://github.com/mongodb/mongo/commit/7e6dbb93f6e7728da96a68ec53071628a5475048

Generated at Thu Feb 08 05:54:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.