[SERVER-50874] Coverity analysis defect 116278: Parse warning Created: 11/Sep/20  Updated: 29/Oct/23  Resolved: 28/Sep/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Samyukta Lanka
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: Repl 2020-10-05
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/api_parameters.h:78: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE 116278 type qualifier on return type is meaningless



 Comments   
Comment by Githook User [ 28/Sep/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-50874 Remove const qualifier from return type in api_parameters.h
Branch: master
https://github.com/mongodb/mongo/commit/e6f22b75887669de4eb1c888dd4e5dca2398c217

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