translate: Actually return a value from translate_cache_create().
authorMichal Krol <michal@tungstengraphics.com>
Thu, 24 Apr 2008 12:05:39 +0000 (14:05 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Thu, 24 Apr 2008 12:05:39 +0000 (14:05 +0200)
src/gallium/auxiliary/translate/translate_cache.c

index c14f37c42f9c3dfcc5b1b175f970b879694287e0..e91d648eba4ced861d566284d363993a80d63d8e 100644 (file)
@@ -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;
 }