[SERVER-66234] Coverity analysis defect 122148: Parse warning Created: 05/May/22  Updated: 29/Oct/23  Resolved: 10/May/22

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: coverity, sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding NYC 2022-05-16
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/db/s/sharding_data_transform_cumulative_metrics_test.cpp:437: PW.PARAMETER_HIDDEN 122148 declaration hides parameter "expectedState" (declared at line 419)



 Comments   
Comment by Githook User [ 10/May/22 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-66234 Fix variable shadowing in sharding_data_transform_cumulative_metrics_test
Branch: master
https://github.com/mongodb/mongo/commit/589aa86a047d5f3d34294e054cd7b41cd74d9590

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