From da1fcddaade58e371c7bee555ce32944c689f810 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 5 Nov 2009 14:13:49 -0500 Subject: radeon: properly fix unused label warnings --- src/radeon_exa_funcs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index d5a3103..61c7427 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -512,7 +512,9 @@ RADEONUploadToScreenCS(PixmapPtr pDst, int x, int y, int w, int h, goto out; } +#if X_BYTE_ORDER == X_BIG_ENDIAN copy: +#endif r = radeon_bo_map(scratch, 0); if (r) { r = FALSE; @@ -628,7 +630,9 @@ RADEONDownloadFromScreenCS(PixmapPtr pSrc, int x, int y, int w, RADEON_GEM_DOMAIN_GTT); FLUSH_RING(); +#if X_BYTE_ORDER == X_BIG_ENDIAN copy: +#endif r = radeon_bo_map(scratch, 0); if (r) { r = FALSE; -- cgit v1.2.3