From: Rob Clark Date: Sat, 6 Feb 2016 14:09:52 +0000 (-0500) Subject: freedreno/ir3: fix compiler warn X-Git-Tag: upstream/17.1.0~11593 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ca034cada87aea58a92113cb38cf92a97d70c55;p=platform%2Fupstream%2Fmesa.git freedreno/ir3: fix compiler warn Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 54315d2..88f6e16 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -1109,7 +1109,7 @@ emit_intrinsic_store_var(struct ir3_compile *ctx, nir_intrinsic_instr *intr) default: compile_error(ctx, "Unhandled store deref type: %u\n", darr->deref_array_type); - break; + return; } for (int i = 0; i < intr->num_components; i++) {