[SERVER-62895] Coverity analysis defect 121394: Parse warning Created: 23/Jan/22  Updated: 29/Oct/23  Resolved: 09/Feb/22

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Gregory Noma
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: Execution Team 2022-02-21
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/views/durable_view_catalog.h:103: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE 121394 type qualifier on return type is meaningless



 Comments   
Comment by Githook User [ 09/Feb/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-62895 Remove `const` from `DurableViewCatalog::belongsTo` return type
Branch: master
https://github.com/mongodb/mongo/commit/dd6883ee2209d06892b3ce64a51937bcef66cac3

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