svga: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Thu, 7 Jan 2010 01:51:08 +0000 (17:51 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 7 Jan 2010 01:51:08 +0000 (17:51 -0800)
src/gallium/drivers/svga/svga_state_fs.c

index 272d1dd14e3c3cf809b24c1329a3ffb7535c51d4..44bb58c9000bde619fbc7101bb33f3f9ddf5ae38 100644 (file)
@@ -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) {