silence warning, bug 5318
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 12 Dec 2005 15:27:55 +0000 (15:27 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 12 Dec 2005 15:27:55 +0000 (15:27 +0000)
src/mesa/main/texenvprogram.c

index 711464aab29419e837731d12744dfa1dcec4b275..23d6239fb7703043ff3ccd17ea7d8819c17b4a22 100644 (file)
@@ -738,6 +738,8 @@ static struct ureg emit_combine( struct texenv_fragment_program *p,
    struct ureg tmp, half;
    GLuint i;
 
+   tmp = undef; /* silence warning (bug 5318) */
+
    for (i = 0; i < nr; i++)
       src[i] = emit_combine_source( p, mask, unit, opt[i].Source, opt[i].Operand );