glsl: fix compiler warnings in link_uniforms.cpp
authorBrian Paul <brianp@vmware.com>
Wed, 5 Mar 2014 23:39:59 +0000 (16:39 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 6 Mar 2014 14:45:36 +0000 (07:45 -0700)
commitef8a19ed4facf9769e1da1cbb9e741df23893ed5
treeaf8692cfec0d144db2cf0db168cd8b8294dfd003
parent3649800009bffc7787f08c32cfee355b8e874b20
glsl: fix compiler warnings in link_uniforms.cpp

With a non-debug build, gcc has two complaints:
1. 'found' var not used.  Silence with '(void) found;'
2. 'id' not initialized.  It's assigned by the UniformHash->get()
   call, actually.  But init it to zero to silence gcc.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/link_uniforms.cpp