From 5bfaf10de597af504e6d2784309e533b09a6451c Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 28 Aug 2015 13:59:43 +0000 Subject: Comment out some dead code found with -fwarn-unused-binds Also fixed some warnings and tightened some imports --- src/runtime/haskell/PGF/Macros.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/haskell/PGF/Macros.hs') diff --git a/src/runtime/haskell/PGF/Macros.hs b/src/runtime/haskell/PGF/Macros.hs index 42d16683a..de175616c 100644 --- a/src/runtime/haskell/PGF/Macros.hs +++ b/src/runtime/haskell/PGF/Macros.hs @@ -231,11 +231,11 @@ computeSeq filter seq args = concatMap compute seq | otherwise = arg_lin where arg_lin = lin ! r - (ct@(cat,fid),_,fun,es,(xs,lin)) = args !! d + (ct@(cat,fid),_,fun,es,(_xs,lin)) = args !! d getVar d r = [LeafKS (showCId (xs !! r))] where - (ct,_,fun,es,(xs,lin)) = args !! d + (_ct,_,_fun,_es,(xs,_lin)) = args !! d flattenBracketedString :: BracketedString -> [String] flattenBracketedString (Leaf w) = [w] -- cgit v1.2.3