diff mbox

[1/2] android: file compile errors w shader_runner.c

Message ID 1359756616-29412-1-git-send-email-tom.gall@linaro.org
State New
Headers show

Commit Message

Tom Gall Feb. 1, 2013, 10:10 p.m. UTC
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(+)
diff mbox

Patch

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;
 }