From 8672676c20d5c9a268a8f07dc7aa706df4ca315f Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Fri, 7 Sep 2007 10:11:03 +0000 Subject: [PATCH] Warning police --- compiler/nativeGen/RegAllocLinear.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4