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

Tom Gall tom.gall at linaro.org
Mon Jan 28 10:30:38 PST 2013


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 at linaro.org>
---
 tests/util/piglit-shader.c |    1 +
 1 file changed, 1 insertion(+)

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";
 }
 
 /**
-- 
1.7.10.4



More information about the Piglit mailing list