[Mesa-dev] [PATCH v1 2/7] etnaviv: Add return statement to etna_amode so compiler is happy
Robert Foss
robert.foss at collabora.com
Thu Jun 15 20:47:54 UTC 2017
From: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Signed-off-by: Robert Foss <robert.foss at collabora.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.c b/src/gallium/drivers/etnaviv/etnaviv_compiler.c
index eafb511bb8..8f73113059 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");
}
+
+ return 0;
}
/* convert destination operand */
--
2.11.0
More information about the mesa-dev
mailing list