[SERVER-33486] Coverity analysis defect 103362: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE Created: 26/Feb/18  Updated: 29/Oct/23  Resolved: 26/Feb/18

Status: Closed
Project: Core Server
Component/s: Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Coverity Collector User Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-03-12
Participants:

 Description   

PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

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

            const bool isVersionUpgradingOrUpgraded() {



 Comments   
Comment by Githook User [ 26/Feb/18 ]

Author:

{'email': 'dianna.hohensee@10gen.com', 'name': 'Dianna Hohensee', 'username': 'DiannaHohensee'}

Message: SERVER-33486 coverity fix for 'const bool' function return type that should just be 'bool'
Branch: master
https://github.com/mongodb/mongo/commit/a7ec3a3a5023618f7b1a37743e76651536f63c17

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