From a2c65f47930ab1c5a56a8c7c81b35dc77b08d472 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 25 Aug 2005 19:43:38 +0000 Subject: don't compile debug code (bug 4242: rand undefined) --- src/mesa/main/hash.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa') 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 -- cgit v1.2.3