summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-04-24 14:05:39 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-04-24 14:05:39 +0200
commitd712eea074303812b1be0e79b302d7b9f49a09a8 (patch)
treedfd9cef8f97427ade50aaa1352e145ff365af5af
parent63e6e33db64fc39db16790d0988d370252a96e29 (diff)
translate: Actually return a value from translate_cache_create().
-rw-r--r--src/gallium/auxiliary/translate/translate_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate_cache.c b/src/gallium/auxiliary/translate/translate_cache.c
index c14f37c42f..e91d648eba 100644
--- a/src/gallium/auxiliary/translate/translate_cache.c
+++ b/src/gallium/auxiliary/translate/translate_cache.c
@@ -40,6 +40,7 @@ struct translate_cache * translate_cache_create()
{
struct translate_cache *cache = MALLOC_STRUCT(translate_cache);
cache->hash = cso_hash_create();
+ return cache;
}