xserver: Branch 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Wed Jun 21 02:03:01 EEST 2006


 Xext/appgroup.c |   18 ------------------
 1 files changed, 18 deletions(-)

New commits:
diff-tree 6df52fb7745c185c0168060f69cc6b4f5315914e (from 2b58685402e70f123e131fd8146e6083ff5214a4)
Author: Alan Coopersmith <alanc at alf.(none)>
Date:   Tue Jun 20 16:02:55 2006 -0700

    Delete code that's been inside #if 0 since X11R6.7.

diff --git a/Xext/appgroup.c b/Xext/appgroup.c
index 86bd36e..cf42a7d 100644
--- a/Xext/appgroup.c
+++ b/Xext/appgroup.c
@@ -77,10 +77,6 @@ static int		ProcXagDispatch(ClientPtr cl
 static int              SProcXagDispatch(ClientPtr client);
 static void		XagResetProc(ExtensionEntry* extEntry);
 
-#if 0
-static unsigned char	XagReqCode = 0;
-static int		XagErrorBase;
-#endif
 static int		XagCallbackRefCount = 0;
 
 static RESTYPE		RT_APPGROUP;
@@ -233,19 +229,6 @@ void XagClientStateChange(
 void
 XagExtensionInit(INITARGS)
 {
-#if 0
-    ExtensionEntry* extEntry;
-
-    if ((extEntry = AddExtension (XAGNAME,
-				0,
-				XagNumberErrors,
-				ProcXagDispatch,
-				SProcXagDispatch,
-				XagResetProc,
-				StandardMinorOpcode))) {
-	XagReqCode = (unsigned char)extEntry->base;
-	XagErrorBase = extEntry->errorBase;
-#else
     if (AddExtension (XAGNAME,
 		      0,
 		      XagNumberErrors,
@@ -253,7 +236,6 @@ XagExtensionInit(INITARGS)
 		      SProcXagDispatch,
 		      XagResetProc,
 		      StandardMinorOpcode)) {
-#endif
 	RT_APPGROUP = CreateNewResourceType (XagAppGroupFree);
     }
 }



More information about the xorg-commit mailing list