[SERVER-20006] Coverity analysis defect 73582: PW.PARAMETER_HIDDEN Created: 18/Aug/15  Updated: 14/Apr/16  Resolved: 10/Sep/15

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Misha Tyulenev
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-18772 Use ClusterClientCursor framework for... Closed
is related to SERVER-18773 Use ClusterClientCursor framework for... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

PW.PARAMETER_HIDDEN

Defect 73582 (STATIC_C)
Checker PW.PARAMETER_HIDDEN (subcategory none)
File: /src/mongo/s/strategy.cpp
Parse Warning (no function name available)
/src/mongo/s/strategy.cpp, line: 182
declaration hides parameter "txn" (declared at line 150)

            auto txn = cc().makeOperationContext();



 Comments   
Comment by Misha Tyulenev [ 10/Sep/15 ]

SERVER-18773 fixes the issue

Comment by David Storch [ 18/Aug/15 ]

misha.tyulenev, I believe the patch you have for SERVER-18773 fixes this problem. When that patch goes in, you can resolve this ticket as a duplicate.

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