From: Michal Krol Date: Thu, 24 Apr 2008 12:05:39 +0000 (+0200) Subject: translate: Actually return a value from translate_cache_create(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d712eea074303812b1be0e79b302d7b9f49a09a8;p=mesa.git translate: Actually return a value from translate_cache_create(). --- 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; }