summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_tgsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi.c')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi.c b/src/gallium/drivers/svga/svga_tgsi.c
index 781fe6334a5..a93eca686dd 100644
--- a/src/gallium/drivers/svga/svga_tgsi.c
+++ b/src/gallium/drivers/svga/svga_tgsi.c
@@ -175,7 +175,6 @@ svga_tgsi_translate( const struct svga_shader *shader,
{
struct svga_shader_result *result = NULL;
struct svga_shader_emitter emit;
- int ret = 0;
memset(&emit, 0, sizeof(emit));
@@ -183,7 +182,6 @@ svga_tgsi_translate( const struct svga_shader *shader,
emit.size = 1024;
emit.buf = MALLOC(emit.size);
if (emit.buf == NULL) {
- ret = PIPE_ERROR_OUT_OF_MEMORY;
goto fail;
}