Operational Defect Database

BugZero found this defect 2391 days ago.

MongoDB | 415126

[SERVER-30601] Coverity analysis defect 101964: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.12

Description:

Info

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();

Top User Comments

xgen-internal-githook commented on Fri, 11 Aug 2017 20:24:08 +0000: 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

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...