mesa: remove unused variable warning in release builds
authorTimothy Arceri <tarceri@itsqueeze.com>
Sun, 19 Feb 2017 23:16:20 +0000 (10:16 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 20 Feb 2017 21:46:04 +0000 (08:46 +1100)
commit87687afb943d26c1c82ff88b22e1d05fc3c6ed04
tree4fd1a7018f7bed8c1f3752ed048ff98daf8b29d4
parenta40ebe73a1e0e3a4b7b5be464f1bd7952bd1c394
mesa: remove unused variable warning in release builds

This assert might have made sense before but we no longer use
gl_linked_shader here. Unless the caller has really done something
crazy this assert is fairly useless.

We also do some small tidy ups in this change.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/uniforms.c