summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/translate/translate_cache.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-04-24 14:05:39 +0200
committerMichal Krol <[email protected]>2008-04-24 14:05:39 +0200
commitd712eea074303812b1be0e79b302d7b9f49a09a8 (patch)
treedfd9cef8f97427ade50aaa1352e145ff365af5af /src/gallium/auxiliary/translate/translate_cache.c
parent63e6e33db64fc39db16790d0988d370252a96e29 (diff)
translate: Actually return a value from translate_cache_create().
Diffstat (limited to 'src/gallium/auxiliary/translate/translate_cache.c')
-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 c14f37c42f9..e91d648eba4 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;
}