From: simonpj@microsoft.com Date: Fri, 7 Sep 2007 10:11:03 +0000 (+0000) Subject: Warning police X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=8672676c20d5c9a268a8f07dc7aa706df4ca315f Warning police --- diff --git a/compiler/nativeGen/RegAllocLinear.hs b/compiler/nativeGen/RegAllocLinear.hs index b99abe3..a9d8fc0 100644 --- a/compiler/nativeGen/RegAllocLinear.hs +++ b/compiler/nativeGen/RegAllocLinear.hs @@ -1112,7 +1112,7 @@ pprStats code statss #ifdef DEBUG my_fromJust s p Nothing = pprPanic ("fromJust: " ++ s) p -my_fromJust s p (Just x) = x +my_fromJust _ _ (Just x) = x #else my_fromJust _ _ = fromJust #endif