glsl: Fix unused value warning reported by Coverity
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 28 Sep 2015 10:59:33 +0000 (12:59 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 29 Sep 2015 08:53:08 +0000 (10:53 +0200)
commit6bf718fec22f605702c7d15503d4dbc3c2be35e6
tree9f0b2c6e7375517f3e99d78d5a56bd06767bf748
parentbea66d22f2c0e97242c15652376ae4e82779f343
glsl: Fix unused value warning reported by Coverity

We don't use param in this part of the code, so no point in advancing
the pointer forward:

>>>     CID 1324983:  Code maintainability issues  (UNUSED_VALUE)
>>>     Assigning value from "param->get_next()" to "param" here, but that stored value is overwritten before it can be used.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/lower_ubo_reference.cpp