From 0063084804d62402d80821a86978660663955442 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 12 Dec 2005 15:27:55 +0000 Subject: [PATCH] silence warning, bug 5318 --- src/mesa/main/texenvprogram.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 711464aab29..23d6239fb77 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -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 ); -- 2.30.2