From 7d33ab0f8c7958b205076f71e4b47c24aace77fd Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 28 Jun 2016 15:54:44 -0400 Subject: [PATCH] dri2: Don't make reference to noClientException noClientException is now never filled in with a meaningful value, it's always -1. The sole caller of this function disregards the error value in any case. Reviewed-by: Eric Anholt Signed-off-by: Adam Jackson --- glx/glxdri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glx/glxdri2.c b/glx/glxdri2.c index afaf44e7e..3a95a8f8c 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -297,7 +297,7 @@ __glXDRIcontextWait(__GLXcontext * baseContext, } if (ret) { - *error = cl->client->noClientException; + *error = -1; return TRUE; }