nir/validate: fix null deref coverity warning
authorRob Clark <robclark@freedesktop.org>
Wed, 18 May 2016 15:40:34 +0000 (11:40 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 23 May 2016 14:14:50 +0000 (10:14 -0400)
commit5245d845b6f77361f01a7f577e1471345df132de
tree057cdf6f8b13200445f6a4c49fe73e45faa080cf
parent0cbc90c57cfc6099b529c5caeb58f385735ba75f
nir/validate: fix null deref coverity warning

CID 1265536 (#1 of 2): Explicit null dereferenced (FORWARD_NULL)6.
var_deref_op: Dereferencing null pointer parent.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_validate.c