<div dir="ltr">On 23 August 2013 14:12, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
src/glsl/ast_to_hir.cpp | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp<br>
index feff586..0db6b45 100644<br>
--- a/src/glsl/ast_to_hir.cpp<br>
+++ b/src/glsl/ast_to_hir.cpp<br>
@@ -1922,7 +1922,7 @@ validate_binding_qualifier(struct _mesa_glsl_parse_state *state,<br>
* with an array of size N, all elements of the array from binding<br>
* through binding + N - 1 must be within this range."<br>
*/<br>
- unsigned limit;<br>
+ unsigned limit = 0;<br>
switch (state->target) {<br>
case vertex_shader:<br>
limit = ctx->Const.VertexProgram.MaxTextureImageUnits;<br></blockquote><div><br></div><div>Thanks, Brian.<br><br></div><div>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br>
</div></div></div></div>