diff options
author | Timothy Arceri <[email protected]> | 2016-09-03 20:30:19 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-09-03 20:30:19 +1000 |
commit | 1692228a38c21c0abb0b7a7c5ec89ddc94c1ff6a (patch) | |
tree | 88ca2ceedac26750fcad5ba3b1cfe99f55d5348a /src | |
parent | 356d101af35e27c7b5cdb0dbacb1152f901c085a (diff) |
nir: remove unused variable
This was let over from aad4f15506c
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/nir/nir_control_flow.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_control_flow.c b/src/compiler/nir/nir_control_flow.c index 05cc9e95a1e..1ff7a530f25 100644 --- a/src/compiler/nir/nir_control_flow.c +++ b/src/compiler/nir/nir_control_flow.c @@ -530,8 +530,6 @@ remove_phi_src(nir_block *block, nir_block *pred) static void unlink_jump(nir_block *block, nir_jump_type type, bool add_normal_successors) { - nir_block *next = block->successors[0]; - if (block->successors[0]) remove_phi_src(block->successors[0], block); if (block->successors[1]) |