From: Tomeu Vizoso Date: Wed, 28 Jun 2017 21:52:27 +0000 (-0400) Subject: etnaviv: Add unreachable statement to etna_amode to fix compilation warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ecdedb8d4adfa9dbef053681fc89f2a2873647e;p=mesa.git etnaviv: Add unreachable statement to etna_amode to fix compilation warnings Signed-off-by: Robert Foss Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.c b/src/gallium/drivers/etnaviv/etnaviv_compiler.c index af0f76b5864..2e8dd8643a5 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_compiler.c +++ b/src/gallium/drivers/etnaviv/etnaviv_compiler.c @@ -885,6 +885,8 @@ etna_amode(struct tgsi_ind_register indirect) default: assert(!"Invalid swizzle"); } + + unreachable("bad swizzle"); } /* convert destination operand */