[SERVER-38575] Coverity analysis defect 105171: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE Created: 12/Dec/18  Updated: 29/Oct/23  Resolved: 14/Dec/18

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Gregory Wlodarek
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: Storage NYC 2018-12-17
Participants:

 Description   

PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

Defect 105171 (STATIC_C)
Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
File: /src/mongo/db/storage/kv/kv_storage_engine.h
Parse Warning (no function name available)
/src/mongo/db/storage/kv/kv_storage_engine.h, line: 224
type qualifier on return type is meaningless

                const TimestampType getType() const {



 Comments   
Comment by Githook User [ 14/Dec/18 ]

Author:

{'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}

Message: SERVER-38575 Remove const qualifier
Branch: master
https://github.com/mongodb/mongo/commit/64af8fac9be5a9a1d4de723ae729f6216e5de883

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