[PATCH 07/30] glx: Stop setting retval for nothing.
Cyril Brulebois
kibi at debian.org
Fri May 20 08:35:17 PDT 2011
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
glx/glxdri.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/glx/glxdri.c b/glx/glxdri.c
index 244eac6..561a4a5 100644
--- a/glx/glxdri.c
+++ b/glx/glxdri.c
@@ -288,13 +288,12 @@ __glXDRIcontextDestroy(__GLXcontext *baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- Bool retval;
screen->core->destroyContext(context->driContext);
__glXenterServer(GL_FALSE);
- retval = DRIDestroyContext(baseContext->pGlxScreen->pScreen,
- context->hwContextID);
+ DRIDestroyContext(baseContext->pGlxScreen->pScreen,
+ context->hwContextID);
__glXleaveServer(GL_FALSE);
__glXContextDestroy(&context->base);
--
1.7.5.1
More information about the xorg-devel
mailing list