From: Brian Paul Date: Tue, 20 Jan 2009 16:17:12 +0000 (-0700) Subject: mesa: silence compiler warning at -O2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb26cc6cf5ba0b8ff4c7d85da8f421839691186a;p=mesa.git mesa: silence compiler warning at -O2 --- diff --git a/src/mesa/shader/arbprogram.c b/src/mesa/shader/arbprogram.c index 760dac23993..7c2b747c43b 100644 --- a/src/mesa/shader/arbprogram.c +++ b/src/mesa/shader/arbprogram.c @@ -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);