[PATCH 2/5] dmx: warning fix

Adam Jackson ajax at redhat.com
Thu Jan 20 16:08:44 PST 2011


dmxgc.c: In function ‘dmxChangeClip’:
dmxgc.c:386:5: warning: case label value exceeds maximum value for type
dmxgc.c:387:5: warning: case label value exceeds maximum value for type
dmxgc.c:388:5: warning: case label value exceeds maximum value for type
dmxgc.c:389:5: warning: case label value exceeds maximum value for type

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 hw/dmx/dmxgc.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/hw/dmx/dmxgc.c b/hw/dmx/dmxgc.c
index 829200e..f10f9a0 100644
--- a/hw/dmx/dmxgc.c
+++ b/hw/dmx/dmxgc.c
@@ -383,12 +383,7 @@ void dmxChangeClip(GCPtr pGC, int type, pointer pvalue, int nrects)
 	break;
 
     case CT_PIXMAP:
-    case CT_UNSORTED:
-    case CT_YSORTED:
-    case CT_YXSORTED:
-    case CT_YXBANDED:
-	/* These clip types are condensed down to either NONE or REGION
-           in the mi code */
+	/* Condensed down to REGION in the mi code */
 	break;
     }
 
-- 
1.7.3.4



More information about the xorg-devel mailing list