]> git.saurik.com Git - redis.git/blobdiff - src/dict.c
Fix for bug 312, yet to verify in a couple of minutes...
[redis.git] / src / dict.c
index 77ce90cb0c0eaadc68a8180b8f744b660ef13514..2d1e752b953b500afaf6a4733a021edeeb312993 100644 (file)
@@ -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