...
BugZero found this defect 2696 days ago.
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();
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