[SERVER-29329] Coverity analysis defect 101614: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE Created: 23/May/17  Updated: 08/Jun/22  Resolved: 08/Jun/22

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Luxi Liu (Inactive)
Resolution: Duplicate Votes: 0
Labels: coverity, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-65278 fix clang-tidy v4 issues and add v4 c... Closed
Operating System: ALL
Sprint: Repl 2022-06-13
Participants:

 Description   

PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

Defect 101614 (STATIC_C)
Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
File: /src/mongo/db/repl/topology_coordinator_impl.cpp
Parse Warning (no function name available)
/src/mongo/db/repl/topology_coordinator_impl.cpp, line: 2260
type qualifier on return type is meaningless

    const int TopologyCoordinatorImpl::_selfMemberDataIndex() const {



 Comments   
Comment by Huayu Ouyang [ 08/Jun/22 ]

Fixed in SERVER-65278

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