tgsi: avoid returning pointer to local var, make it static
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 21 Feb 2015 17:44:05 +0000 (12:44 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 21 Feb 2015 22:27:24 +0000 (17:27 -0500)
commit1763494b315179495eabb97d50d025a04a6537e2
treeb08be09b37a3db433d98714509f56a0d3b9f606a
parent51e335742e55d6725fd5c4558158769a32f70f22
tgsi: avoid returning pointer to local var, make it static

Spotted by Coverity.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c