nir: Silence GCC maybe-uninitialized warnings.
authorVinson Lee <vlee@freedesktop.org>
Mon, 2 Nov 2015 09:23:59 +0000 (01:23 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sat, 14 Nov 2015 00:19:11 +0000 (16:19 -0800)
commit3a0fef0005eca63c6f8067d55145b8e884221cfa
treef97afd5ebd59dcdd27f28f535e152280a2686b33
parent5480bbd90ea288877b6e56d4860feb8f97bcba80
nir: Silence GCC maybe-uninitialized warnings.

nir/nir_control_flow.c: In function ‘split_block_cursor.isra.11’:
nir/nir_control_flow.c:460:15: warning: ‘after’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       *_after = after;
               ^
nir/nir_control_flow.c:458:16: warning: ‘before’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       *_before = before;
                ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_control_flow.c