Module: Mesa
Branch: master
Commit: 8b3bf9c299b4e7f68d4207b8d4ebb00d79ebf6d8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b3bf9c299b4e7f68d4207b8d4ebb00d79ebf6d8

Author: Alan Hourihane <[email protected]>
Date:   Thu May 13 18:49:02 2010 +0100

mesa: silence compiler warning

---

 src/mesa/main/get.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index fbb659c..d2dcddd 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1757,8 +1757,10 @@ find_value(const char *func, GLenum pname, void **p, 
union value *v)
    default:
       assert(0);
       break;
-
    }
+
+   /* silence warning */
+   return &error_value;
 }
 
 static const int transpose[] = {

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

Reply via email to