summaryrefslogtreecommitdiff
path: root/src/mesa/main/hash.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-08-25 19:43:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-08-25 19:43:38 +0000
commita2c65f47930ab1c5a56a8c7c81b35dc77b08d472 (patch)
treef8802b0e6036d569f7b5ae2cab4175b1c5ffae80 /src/mesa/main/hash.c
parent2735b33638309a306257f13bec52389292cf8ab7 (diff)
don't compile debug code (bug 4242: rand undefined)
Diffstat (limited to 'src/mesa/main/hash.c')
-rw-r--r--src/mesa/main/hash.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c
index 924fd69e20..74ab57df0a 100644
--- a/src/mesa/main/hash.c
+++ b/src/mesa/main/hash.c
@@ -12,7 +12,7 @@
/*
* Mesa 3-D graphics library
- * Version: 6.3
+ * Version: 6.4
*
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
@@ -384,6 +384,8 @@ _mesa_HashFindFreeKeyBlock(struct _mesa_HashTable *table, GLuint numKeys)
}
+#if 0 /* debug only */
+
/**
* Test walking over all the entries in a hash table.
*/
@@ -445,3 +447,5 @@ _mesa_test_hash_functions(void)
test_hash_walking();
}
+
+#endif