[SERVER-43321] Remove const from bool return type in ValidateState Created: 13/Sep/19  Updated: 29/Oct/23  Resolved: 14/Sep/19

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

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: Execution Team 2019-09-23
Participants:

 Description   

PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

Defect 113467 (STATIC_C)
Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
File: /src/mongo/db/catalog/validate_state.h
Parse Warning (no function name available)
/src/mongo/db/catalog/validate_state.h, line: 66
type qualifier on return type is meaningless

        const bool isBackground() const {



 Comments   
Comment by Githook User [ 13/Sep/19 ]

Author:

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

Message: SERVER-43321 Remove const from bool return type in ValidateState
Branch: master
https://github.com/mongodb/mongo/commit/8d685772d167dd186e0036b25781fcb06f25d941

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