mesa: silence uninitialized var warning

This commit is contained in:
Brian Paul 2011-11-10 15:56:04 -07:00
parent 3da5196263
commit 3800fe800b

View file

@ -894,7 +894,7 @@ _mesa_get_uniform_location(struct gl_context *ctx,
array_lookup = false;
}
unsigned location;
unsigned location = 0;
const bool found = shProg->UniformHash->get(location, name_copy);
assert(!found