llvmpipe: Initialize dummy variable.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 24 Apr 2010 15:13:18 +0000 (16:13 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 24 Apr 2010 15:13:18 +0000 (16:13 +0100)
src/gallium/drivers/llvmpipe/lp_setup.c

index 194f628bef5207717ab0cf68019c7c905fab59c0..abc659c3691e8d7a9f1197095ec9ec549ac0d7b7 100644 (file)
@@ -243,7 +243,7 @@ lp_setup_flush( struct lp_setup_context *setup,
 
    if (setup->scene) {
       struct lp_scene *scene = lp_setup_get_current_scene(setup);
-      union lp_rast_cmd_arg dummy;
+      union lp_rast_cmd_arg dummy = {0};
 
       if (flags & (PIPE_FLUSH_SWAPBUFFERS |
                    PIPE_FLUSH_FRAME)) {