Message ID | 1359756616-29412-1-git-send-email-tom.gall@linaro.org |
---|---|
State | New |
Headers | show |
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; }
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 <tom.gall@linaro.org> --- tests/shaders/shader_runner.c | 2 ++ 1 file changed, 2 insertions(+)