avoid warning

This commit is contained in:
Joey Hess 2013-04-13 15:46:24 -04:00
parent 51b150dda3
commit dbb791a13b

View file

@ -171,8 +171,8 @@ decodeMessage m = decode =<< gitAnnexTagInfo m
<*> a i <*> a i
gen c i = do gen c i = do
packet <- decodeTagContent $ tagElement i packet <- decodeTagContent $ tagElement i
let sequence = fromMaybe 0 $ readish $ T.unpack $ tagValue i let seqnum = fromMaybe 0 $ readish $ T.unpack $ tagValue i
return $ c sequence packet return $ c seqnum packet
decodeExitCode :: Int -> ExitCode decodeExitCode :: Int -> ExitCode
decodeExitCode 0 = ExitSuccess decodeExitCode 0 = ExitSuccess