mesa: squash harmless warning
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 14:32:03 +0000 (15:32 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 14:37:30 +0000 (15:37 +0100)
src/mesa/state_tracker/st_mesa_to_tgsi.c

index 524b5af50b2ab0cef9b2da0b3a410c70410e9b62..d2be450bdb97adda44b7140446189c708a8154bc 100644 (file)
@@ -805,7 +805,7 @@ tgsi_translate_mesa_program(
    {
       GLboolean tempsUsed[MAX_PROGRAM_TEMPS + 1];
       GLboolean inside_range = GL_FALSE;
-      GLuint start_range;
+      GLuint start_range = 0;
 
       find_temporaries(program, tempsUsed);
       tempsUsed[MAX_PROGRAM_TEMPS] = GL_FALSE;