From d5e4f29cb9ef5af7214887e84fb31f27fbfe1100 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 4 Mar 2004 16:22:01 +0000 Subject: a bunch of assorted clean-ups, etc to fix warnings, etc --- src/mesa/drivers/x11/xm_line.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mesa/drivers/x11/xm_line.c') diff --git a/src/mesa/drivers/x11/xm_line.c b/src/mesa/drivers/x11/xm_line.c index 9b0e565..342528d 100644 --- a/src/mesa/drivers/x11/xm_line.c +++ b/src/mesa/drivers/x11/xm_line.c @@ -492,9 +492,6 @@ static swrast_line_func get_line_func( GLcontext *ctx ) SWcontext *swrast = SWRAST_CONTEXT(ctx); int depth = GET_VISUAL_DEPTH(xmesa->xm_visual); - (void) DitherValues; /* silence unused var warning */ - (void) kernel1; /* silence unused var warning */ - if (ctx->RenderMode != GL_RENDER) return (swrast_line_func) NULL; if (ctx->Line.SmoothFlag) return (swrast_line_func) NULL; if (ctx->Texture._EnabledUnits) return (swrast_line_func) NULL; -- cgit v1.1