[SERVER-62388] Coverity analysis defect 121318: Parse warning Created: 06/Jan/22  Updated: 29/Oct/23  Resolved: 02/Feb/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: James Wahlin
Resolution: Fixed Votes: 0
Labels: coverity, greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QO 2022-02-07
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/index/expression_keys_private.cpp:756: PW.PARAMETER_HIDDEN 121318 declaration hides parameter "obj" (declared at line 656)



 Comments   
Comment by Githook User [ 02/Feb/22 ]

Author:

{'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}

Message: SERVER-62388 Fix variable shadowing in ExpressionKeysPrivate::getS2Keys
Branch: master
https://github.com/mongodb/mongo/commit/e0a295719bb98afc0942d07aba9f92d76f8b42f3

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