[SERVER-63963] Coverity analysis defect 121566: Parse warning Created: 24/Feb/22  Updated: 29/Oct/23  Resolved: 01/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Bug Priority: Minor - P4
Reporter: Coverity Collector User Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-02-24 at 10.04.44 AM.png    
Issue Links:
Problem/Incident
is caused by SERVER-63282 Refactor and simplify `BatonASIO` Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2022-03-07
Participants:
Story Points: 1

 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/transport/baton_asio_linux.cpp:276: PW.PARAMETER_HIDDEN 121566 declaration hides parameter "timer" (declared at line 264)



 Comments   
Comment by Githook User [ 01/Mar/22 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-63963 Rename local variables to address Coverity warnings
Branch: master
https://github.com/mongodb/mongo/commit/dcb787226cdd575ea1c7c95ad6a0b996b3c8b27a

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