Operational Defect Database

BugZero found this defect 2502 days ago.

MongoDB | 376218

[SERVER-28906] Coverity analysis defect 100733: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

Last update date:

10/27/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE Defect 100733 (STATIC_C) Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none) File: /src/mongo/s/catalog/type_shard_collection.cpp Parse Warning (no function name available) /src/mongo/s/catalog/type_shard_collection.cpp, line: 220 type qualifier on return type is meaningless const long long ShardCollectionType::getRefreshSequenceNumber() const {

Top User Comments

dianna.hohensee commented on Tue, 1 Aug 2017 13:23:07 +0000: That function no longer exists. Closing. milkie commented on Fri, 21 Apr 2017 15:18:20 +0000: Also 7 other defects that are similar issues in type_shard_collection.cpp/.h, in that return value types are const-qualified (which has no effect). Their defect id's are 100727-100733.

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:

...