diff options
-rw-r--r-- | 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 fbb659c125c..d2dcddddf27 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[] = { |