projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da5196
)
mesa: silence uninitialized var warning
author
Brian Paul
<brianp@vmware.com>
Thu, 10 Nov 2011 22:56:04 +0000
(15:56 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 10 Nov 2011 23:00:46 +0000
(16:00 -0700)
src/mesa/main/uniform_query.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/main/uniform_query.cpp
b/src/mesa/main/uniform_query.cpp
index 39aa5570ecacb269f798e4a65a874e4076a847ba..5371d6a176bb3d5454f6f7d9f674cfabe789939a 100644
(file)
--- 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