Mesa (mesa_7_5_branch): mesa: Always return a value.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon Jun 15 19:28:23 UTC 2009


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

Author: José Fonseca <jfonseca at vmware.com>
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;
    }
 }
 




More information about the mesa-commit mailing list