[SERVER-55004] Coverity analysis defect 117793: Parse warning Created: 05/Mar/21  Updated: 29/Oct/23  Resolved: 09/Mar/21

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Sara Golemon
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: Security 2021-03-22
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/modules/enterprise/src/audit/audit_manager.h:42: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE 117793 type qualifier on return type is meaningless



 Comments   
Comment by Githook User [ 09/Mar/21 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-55004 Remove unnecessary const qualifier from return type
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/411446f357ff4a904a005eda65b82cf4da3ca333

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