diff options
author | Brian Paul <[email protected]> | 2011-11-10 15:56:04 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-11-10 16:00:46 -0700 |
commit | 3800fe800bfc7faac6e629e584487c5904a5ef2b (patch) | |
tree | 2e591754e334eb0f9858a3f1a76bacfa3901e54e /src | |
parent | 3da5196263fb2ae60483044cbd34c94270e2accd (diff) |
mesa: silence uninitialized var warning
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/uniform_query.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp index 39aa5570eca..5371d6a176b 100644 --- a/src/mesa/main/uniform_query.cpp +++ b/src/mesa/main/uniform_query.cpp @@ -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 |