[SERVER-30601] Coverity analysis defect 101964: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE Created: 10/Aug/17  Updated: 30/Oct/23  Resolved: 11/Aug/17

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage 2017-08-21
Participants:

 Description   

PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

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

        const bool scanLimitHit();

/src/mongo/db/catalog/index_consistency.h, line: 239
During compilation of file '/data/src/mongo.master/src/mongo/db/auth/authz_manager_external_state_d.cpp'

        const bool scanLimitHit();



 Comments   
Comment by Githook User [ 11/Aug/17 ]

Author:

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

Message: SERVER-30601 Remove useless qualifiers
Branch: master
https://github.com/mongodb/mongo/commit/9ab84fb795502c2a362fe74e4d438a952433d41a

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