mesa: silence compiler warning
authorAlan Hourihane <alanh@vmware.com>
Thu, 13 May 2010 17:49:02 +0000 (18:49 +0100)
committerAlan Hourihane <alanh@vmware.com>
Thu, 13 May 2010 17:49:02 +0000 (18:49 +0100)
src/mesa/main/get.c

index fbb659c125c8bd41f842c32a1e20b0f3739b3648..d2dcddddf27bdd6dac90432aa995df70ca1f553d 100644 (file)
@@ -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[] = {