summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-06-15 19:20:25 +0100
committerJosé Fonseca <[email protected]>2009-06-15 19:20:25 +0100
commitc6af9b29476e4e445623e7a2f737ba95003bbe13 (patch)
treec26a0aab4eb82150ca0c28a5475b16d0b2256d34
parent053d8eb8914cae274ccd19abb0a492e7ca220660 (diff)
mesa: Always return a value.
-rw-r--r--src/mesa/main/texenvprogram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index a70d069bd9c..b92ba2542d2 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -877,6 +877,7 @@ static struct ureg get_source( struct texenv_fragment_program *p,
default:
assert(0);
+ return undef;
}
}