On Android -Werror=return-type is set for C code, as such there
are two cases were I've added a return 0 after an assert.

Signed-off-by: Tom Gall <[email protected]>
---
 tests/shaders/shader_runner.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index d83228e..20f1ee0 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -351,6 +351,7 @@ compare(float ref, float value, enum comparison cmp)
        }
 
        assert(!"Should not get here.");
+       return 0;
 }
 
 
@@ -370,6 +371,7 @@ comparison_string(enum comparison cmp)
        }
 
        assert(!"Should not get here.");
+       return 0;
 }
 
 
-- 
1.7.10.4

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to