mesa: Fix compiler error.
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 5e81477..466ae48 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -2604,11 +2604,13 @@
    }
 
    if (*File == PROGRAM_STATE_VAR) {
+      enum register_file file;
+
       /* If we're referencing the Program->Parameters[] array, check if the
        * parameter is really a constant/literal.  If so, set File to CONSTANT.
        */
       assert(*Index < Program->Base.Parameters->NumParameters);
-      enum register_file file = Program->Base.Parameters->Parameters[*Index].Type;
+      file = Program->Base.Parameters->Parameters[*Index].Type;
       if (file == PROGRAM_CONSTANT)
          *File = PROGRAM_CONSTANT;
    }