aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tom.gall@linaro.org>2013-02-01 14:13:44 -0600
committerTom Gall <tom.gall@linaro.org>2013-03-25 14:20:18 -0500
commite883f26ab70fb195d9730ae671a8c85858bde13b (patch)
tree0e1bc821f4e643f88d90c6d4578fe7650fc5855e
parent3e442a30a2bccdc07b5b0bf7930b1edadfa46fa8 (diff)
android: file compile errors w shader_runner.c
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.
-rw-r--r--tests/shaders/shader_runner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 5b084cb2..7321d787 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -382,6 +382,7 @@ compare(float ref, float value, enum comparison cmp)
}
assert(!"Should not get here.");
+ return 0;
}
@@ -401,6 +402,7 @@ comparison_string(enum comparison cmp)
}
assert(!"Should not get here.");
+ return 0;
}