diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-04-03 01:35:05 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-04-03 01:35:05 +0000 |
commit | a01f17d6dec02f80144e108f748783cb4e429ebb (patch) | |
tree | cb41a517cfd9c4c2c882afcef228ba4cc2e76489 /hw | |
parent | c03cfca3806f45948627715b25b46839a07be979 (diff) |
Coverity #983: Move some risky debugging code inside #ifdef DEBUG.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/dri/dri.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 8d2851033..b58b670a2 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -1427,7 +1427,6 @@ DRISwapContext(int drmFD, void *oldctx, void *newctx) DRISyncType syncType; #ifdef DEBUG static int count = 0; -#endif if (!newContext) { DRIDrvMsg(pScreen->myNum, X_ERROR, @@ -1436,7 +1435,6 @@ DRISwapContext(int drmFD, void *oldctx, void *newctx) return; } -#ifdef DEBUG /* usefull for debugging, just print out after n context switches */ if (!count || !(count % 1)) { DRIDrvMsg(pScreen->myNum, X_INFO, |