mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
mesa: silence uninitialized var warning
This commit is contained in:
parent
3da5196263
commit
3800fe800b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue