diff mbox

[2/3] android: piglit-shader.c compiler error

Message ID 1359397839-24285-2-git-send-email-tom.gall@linaro.org
State Accepted
Commit bd0fe9cce95f7b6a604b6d8dd7337d7897ff1c43
Headers show

Commit Message

Tom Gall Jan. 28, 2013, 6:30 p.m. UTC
A very minor change to fix build issue for Android. Needed return
statement at end of function which specifies a return type.

Signed-off-by: Tom Gall <tom.gall@linaro.org>
---
 tests/util/piglit-shader.c |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/tests/util/piglit-shader.c b/tests/util/piglit-shader.c
index f41ae79..5f4d6c1 100644
--- a/tests/util/piglit-shader.c
+++ b/tests/util/piglit-shader.c
@@ -127,6 +127,7 @@  shader_name(GLenum target)
    default:
       assert(!"Unexpected shader target in shader_name()");
    }
+   return "error";
 }
 
 /**