X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/399f2f401c6fc3d489e2e40ffc78638425e3a09e..b301c1fc2bbf977a7d9fd4718cd9914113541c75:/src/dict.c diff --git a/src/dict.c b/src/dict.c index 77ce90cb..2d1e752b 100644 --- a/src/dict.c +++ b/src/dict.c @@ -615,6 +615,12 @@ void dictDisableResize(void) { dict_can_resize = 0; } +#if 0 + +/* The following are just example hash table types implementations. + * Not useful for Redis so they are commented out. + */ + /* ----------------------- StringCopy Hash Table Type ------------------------*/ static unsigned int _dictStringCopyHTHashFunction(const void *key) @@ -678,3 +684,4 @@ dictType dictTypeHeapStringCopyKeyValue = { _dictStringDestructor, /* key destructor */ _dictStringDestructor, /* val destructor */ }; +#endif