Module: Mesa
Branch: mesa_7_5_branch
Commit: c6af9b29476e4e445623e7a2f737ba95003bbe13
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6af9b29476e4e445623e7a2f737ba95003bbe13

Author: José Fonseca <[email protected]>
Date:   Mon Jun 15 19:20:25 2009 +0100

mesa: Always return a value.

---

 src/mesa/main/texenvprogram.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index a70d069..b92ba25 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;
    }
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to