From: Brian Paul Date: Sun, 22 Oct 2006 22:25:46 +0000 (+0000) Subject: silence used var warnings X-Git-Tag: 062012170305~20288 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec9bbac7c7f42261de9df6f4029d7e051ae9225c;p=profile%2Fivi%2Fmesa.git silence used var warnings --- diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c index ec04143..761ab72 100644 --- a/src/mesa/swrast/s_copypix.c +++ b/src/mesa/swrast/s_copypix.c @@ -845,7 +845,8 @@ fast_copy_pixels(GLcontext *ctx, srcRb = srcFb->_DepthBuffer; dstRb = dstFb->_DepthBuffer; } - else if (type == GL_DEPTH_STENCIL_EXT) { + else { + ASSERT(type == GL_DEPTH_STENCIL_EXT); /* XXX correct? */ srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer;