mesa: silence compiler warning at -O2
authorBrian Paul <brianp@vmware.com>
Tue, 20 Jan 2009 16:17:12 +0000 (09:17 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Jan 2009 16:17:12 +0000 (09:17 -0700)
src/mesa/shader/arbprogram.c

index 760dac23993ed14f52001e894fed73798a1a31a7..7c2b747c43bc6dec1ae35a39fe7e38aad21da34e 100644 (file)
@@ -807,6 +807,7 @@ _mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
 {
    GET_CURRENT_CONTEXT(ctx);
    GLfloat floatParams[4];
+   ASSIGN_4V(floatParams, 0.0F, 0.0F, 0.0F, 0.0F);
    _mesa_GetProgramLocalParameterfvARB(target, index, floatParams);
    if (ctx->ErrorValue == GL_NO_ERROR) {
       COPY_4V(params, floatParams);