glsl: Fix null check in read_dereference.
authorVinson Lee <vlee@freedesktop.org>
Fri, 7 Jun 2013 06:07:30 +0000 (23:07 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 14 Jun 2013 05:13:34 +0000 (22:13 -0700)
commit93534873b08aceb0c1c4bd6794c4d3d96907295d
treece1e51d7d8aafc57bde61745a96c2f510a5edd38
parent399548b17fcc679d293920f1088c50004babfc92
glsl: Fix null check in read_dereference.

Fixes "Logically dead code" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/ir_reader.cpp