...
BugZero found this defect 2788 days ago.
PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE Defect 101726 (STATIC_C) Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none) File: /src/mongo/s/catalog/type_shard_collection.h Parse Warning (no function name available) /src/mongo/s/catalog/type_shard_collection.h, line: 146 type qualifier on return type is meaningless const bool hasLastRefreshedCollectionVersion() const { /src/mongo/s/catalog/type_shard_collection.h, line: 146 During compilation of file '/data/src/mongo.master/src/mongo/db/s/collection_sharding_state.cpp' const bool hasLastRefreshedCollectionVersion() const {
xgen-internal-githook commented on Tue, 1 Aug 2017 16:54:29 +0000: Author: {'email': 'dianna.hohensee@10gen.com', 'username': 'DiannaHohensee', 'name': 'Dianna Hohensee'} Message: SERVER-29791 changing meaningless 'const bool' return types to 'bool' in ShardCollectionType Branch: master https://github.com/mongodb/mongo/commit/6038769fb9bc0b00ca2aee1cc1e4d7beae3a7274