[project @ 1998-01-28 11:01:55 by sof]
[ghc-hetmet.git] / ghc / compiler / rename / RnMonad.lhs
index f20b714..26a5753 100644 (file)
@@ -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) $