mesa/fbo: do not assign a value that is never read later on
authorMartin Peres <martin.peres@linux.intel.com>
Wed, 25 Mar 2015 14:28:03 +0000 (16:28 +0200)
committerMartin Peres <martin.peres@linux.intel.com>
Wed, 1 Apr 2015 06:36:27 +0000 (09:36 +0300)
commitfa3832155100850da8346faa64c3cb30c4e86e39
tree9e2c4f6972bc2bbee7d051ddbab9b0ec1af464a5
parent8f7338f284cdb1fef64c85e3293d2200d0cc6387
mesa/fbo: do not assign a value that is never read later on

The issue has been detected by coverty.

v2:
- move the declaration of obj to the else clause (Brian Paul)

v3: Review by Brian Paul
- get rid of the obj declaration in favor of a direct reference

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/main/fbobject.c