st/xorg: Silence unused variable warnings.
authorVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 07:02:55 +0000 (23:02 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 07:02:55 +0000 (23:02 -0800)
src/gallium/state_trackers/xorg/xorg_exa.c
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
src/gallium/state_trackers/xorg/xorg_renderer.c

index 17a032ee87e6778c6e15348d2006ea1e0966326e..37c234af28fd43713e908cabc18d7060829054e2 100644 (file)
@@ -515,6 +515,7 @@ ExaCopy(PixmapPtr pDstPixmap, int srcX, int srcY, int dstX, int dstY,
 #endif
 
    debug_assert(priv == exa->copy.dst);
+   (void) priv;
 
    if (exa->copy.use_surface_copy) {
       /* XXX: consider exposing >1 box in surface_copy interface.
index 13a9840bdddf76d15111b78b7883abb7d283c364..cb091992ec18f840fe999d6e6279cee4a6fe7a7f 100644 (file)
@@ -492,6 +492,7 @@ create_fs(struct pipe_context *pipe,
 
    /* it has to be either a fill, a composite op or a yuv conversion */
    debug_assert((is_fill ^ is_composite) ^ is_yuv);
+   (void) is_yuv;
 
    out = ureg_DECL_output(ureg,
                           TGSI_SEMANTIC_COLOR,
index cbb84a8c0da6e844d28b861c5152cd63e25590c7..37c8942cff986002a242461dc424ea2ea6fab3bf 100644 (file)
@@ -437,6 +437,7 @@ void renderer_copy_prepare(struct xorg_renderer *r,
                                       PIPE_TEXTURE_2D,
                                       PIPE_TEXTURE_USAGE_RENDER_TARGET,
                                       0));
+   (void) screen;
 
 
    /* set misc state we care about */