r600g/sb: Move variable dereference after null check.
authorVinson Lee <vlee@freedesktop.org>
Sat, 28 Sep 2013 06:05:54 +0000 (23:05 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 30 Sep 2013 17:27:52 +0000 (10:27 -0700)
commit114ae4747549b5677cca0dbd2b8c8531d8789c49
tree9a3133f60e9677bfca8fc93f7278382bf1e3e8fe
parent0d441aac3d28e58b54b25a6dcd4c4cb086f9725d
r600g/sb: Move variable dereference after null check.

Fixes "Deference before null check" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_ra_init.cpp