summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-06 17:51:08 -0800
committerVinson Lee <vlee@vmware.com>2010-01-06 17:51:08 -0800
commit468f270f3fc0efc136d03d0b6022916ddd8ea893 (patch)
treed0fb57fc9efae902b4a1f1e5457b607f942129dc /src
parentef7eb62423077becf2f896f771d6d76e9671f114 (diff)
svga: Silence uninitialized variable warning.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/svga/svga_state_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_state_fs.c b/src/gallium/drivers/svga/svga_state_fs.c
index 272d1dd14e..44bb58c900 100644
--- a/src/gallium/drivers/svga/svga_state_fs.c
+++ b/src/gallium/drivers/svga/svga_state_fs.c
@@ -67,7 +67,7 @@ static enum pipe_error compile_fs( struct svga_context *svga,
struct svga_shader_result **out_result )
{
struct svga_shader_result *result;
- enum pipe_error ret;
+ enum pipe_error ret = PIPE_ERROR;
result = svga_translate_fragment_program( fs, key );
if (result == NULL) {