From 8b3bf9c299b4e7f68d4207b8d4ebb00d79ebf6d8 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 13 May 2010 18:49:02 +0100 Subject: [PATCH] mesa: silence compiler warning --- src/mesa/main/get.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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[] = { -- 2.30.2