From 54df74c2bed86545e56648e62c750b6e406e884e Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Wed, 28 Jan 1998 11:01:55 +0000
Subject: [PATCH] [project @ 1998-01-28 11:01:55 by sof] renameSourceCode:
 don't emit warnings

---
 ghc/compiler/rename/RnMonad.lhs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ghc/compiler/rename/RnMonad.lhs b/ghc/compiler/rename/RnMonad.lhs
index f20b714d9c73..26a57538b9aa 100644
--- a/ghc/compiler/rename/RnMonad.lhs
+++ b/ghc/compiler/rename/RnMonad.lhs
@@ -354,8 +354,10 @@ renameSourceCode mod_name name_supply m
 
 	(if not (isEmptyBag errs) then
 		pprTrace "Urk! renameSourceCode found errors" (display errs) 
+#ifdef DEBUG
 	 else if not (isEmptyBag warns) then
 		pprTrace "Urk! renameSourceCode found warnings" (display warns)
+#endif
 	 else
 		id) $
 
-- 
GitLab