web: fix warning

This commit is contained in:
Simon Michael 2011-07-01 00:46:41 +00:00
parent f9ce624ef0
commit c461104a53

View File

@ -245,7 +245,6 @@ accountRegisterReportItems matcher thisacctmatcher bal signfn (t:ts) =
tmatched@Transaction{tpostings=psmatched} = filterTransactionPostings matcher t
(psthisacct,psotheracct) = case thisacctmatcher of Just m -> partition (matchesPosting m) psmatched
Nothing -> ([],psmatched)
numthisaccts = length $ nub $ map paccount psthisacct
numotheraccts = length $ nub $ map paccount psotheracct
amt = sum $ map pamount psotheracct
acct | isNothing thisacctmatcher = summarisePostings psmatched -- journal register