@@ -247,7 +247,6 @@ static_assert(offsetof(clusterMsg, type) + sizeof(uint16_t) == RCVBUF_MIN_READ_L
247247/* Cluster nodes hash table, mapping nodes addresses 1.2.3.4:6379 to
248248 * clusterNode structures. */
249249dictType clusterNodesDictType = {
250- .entryGetKey = dictEntryGetKey ,
251250 .hashFunction = dictSdsHash ,
252251 .keyCompare = dictSdsKeyCompare ,
253252 .entryDestructor = dictEntryDestructorSdsKey ,
@@ -257,15 +256,13 @@ dictType clusterNodesDictType = {
257256 * we can re-add this node. The goal is to avoid reading a removed
258257 * node for some time. */
259258dictType clusterNodesBlackListDictType = {
260- .entryGetKey = dictEntryGetKey ,
261259 .hashFunction = dictSdsCaseHash ,
262260 .keyCompare = dictSdsKeyCaseCompare ,
263261 .entryDestructor = dictEntryDestructorSdsKey ,
264262};
265263
266264/* Cluster shards hash table, mapping shard id to list of nodes */
267265dictType clusterSdsToListType = {
268- .entryGetKey = dictEntryGetKey ,
269266 .hashFunction = dictSdsHash ,
270267 .keyCompare = dictSdsKeyCompare ,
271268 .entryDestructor = dictEntryDestructorSdsKeyListValue ,
@@ -283,7 +280,6 @@ static int dictPtrCompare(const void *key1, const void *key2) {
283280/* Dictionary type for mapping hash slots to cluster nodes.
284281 * Keys are slot numbers encoded directly as pointer values, values are clusterNode pointers. */
285282dictType clusterSlotDictType = {
286- .entryGetKey = dictEntryGetKey ,
287283 .hashFunction = dictPtrHash ,
288284 .keyCompare = dictPtrCompare ,
289285 .entryDestructor = zfree ,
0 commit comments