[SERVER-61468] Coverity analysis defect 121147: Parse warning Created: 14/Nov/21  Updated: 29/Oct/23  Resolved: 19/Nov/21

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2021-11-29
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/s/balancer/balancer_commands_scheduler_impl.h:469: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE 121147 type qualifier on return type is meaningless



 Comments   
Comment by Githook User [ 19/Nov/21 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-61468 fix coverity warning
Branch: master
https://github.com/mongodb/mongo/commit/8792720ed805a05e3e0f6754f7b7f88faf8dfd7b

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