[commit: ghc] master: Remove redundant warning-avoidance, and a redundant import (dac600d)

Ian Lynagh igloo at earth.li
Fri Jul 20 15:47:07 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/dac600d9c4fcf4b20768e3245c8a6e94675c8805

>---------------------------------------------------------------

commit dac600d9c4fcf4b20768e3245c8a6e94675c8805
Author: Ian Lynagh <igloo at earth.li>
Date:   Mon Jul 16 00:05:17 2012 +0100

    Remove redundant warning-avoidance, and a redundant import

>---------------------------------------------------------------

 compiler/utils/Pretty.lhs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/compiler/utils/Pretty.lhs b/compiler/utils/Pretty.lhs
index 8f6c559..5d5dec1 100644
--- a/compiler/utils/Pretty.lhs
+++ b/compiler/utils/Pretty.lhs
@@ -153,9 +153,6 @@ Relative to John's original paper, there are the following new features:
 
 \begin{code}
 {-# LANGUAGE BangPatterns #-}
-{-# OPTIONS -fno-warn-unused-imports #-}
--- XXX GHC 6.9 seems to be confused by unpackCString# being used only in
---     a RULE
 
 module Pretty (
         Doc,            -- Abstract
@@ -185,7 +182,6 @@ import BufWrite
 import FastString
 import FastTypes
 import Panic
-import StaticFlags
 import Numeric (fromRat)
 import System.IO
 





More information about the Cvs-ghc mailing list