[SERVER-50003] Coverity analysis defect 115993: Parse warning Created: 29/Jul/20  Updated: 06/Dec/22  Resolved: 05/Aug/20

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Backlog - Query Team (Inactive)
Resolution: Won't Fix Votes: 0
Labels: coverity, qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query
Operating System: ALL
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/exec/sbe/values/slot.cpp:305: PW.PARAMETER_HIDDEN 115993 declaration hides parameter "val" (declared at line 277)



 Comments   
Comment by David Storch [ 31/Jul/20 ]

It looks like the name 'val' is shadowed in an inner scope, but I don't see evidence of a real bug here. I suggest a resolution of "Won't Fix".

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