summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-11-04 21:30:23 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-11-08 15:29:16 +0200
commit6716488fa256798070017232405b107d5c985479 (patch)
treef2f7ec17a485d5f0e6305b61a222c5258dc4e8e7 /dix
parent51813d77bfb84609a58a98e678efe9b6c0bf5503 (diff)
dix: remove unused debug code
Diffstat (limited to 'dix')
-rw-r--r--dix/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/dix/main.c b/dix/main.c
index 203773a7c..88d775571 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -701,9 +701,6 @@ AddScreen(
int i;
int scanlinepad, format, depth, bitsPerPixel, j, k;
ScreenPtr pScreen;
-#ifdef DEBUG
- void (**jNI) ();
-#endif /* DEBUG */
i = screenInfo.numScreens;
if (i == MAXSCREENS)
@@ -737,13 +734,6 @@ AddScreen(
pScreen->ClipNotify = 0; /* for R4 ddx compatibility */
pScreen->CreateScreenResources = 0;
-#ifdef DEBUG
- for (jNI = &pScreen->QueryBestSize;
- jNI < (void (**) ()) &pScreen->SendGraphicsExpose;
- jNI++)
- *jNI = NotImplemented;
-#endif /* DEBUG */
-
/*
* This loop gets run once for every Screen that gets added,
* but thats ok. If the ddx layer initializes the formats