Fix warning.

This commit is contained in:
Felipe Lessa 2015-05-28 01:33:21 -03:00
parent 8746b5eb4f
commit 9d33cb07aa

View File

@ -90,7 +90,7 @@ instance Storage SqlStorage where
(void $ P.insert $ toPersistentSession session)
(\old -> liftIO $ E.throwIO $ SessionAlreadyExists old session)
mold
replaceSession s session = do
replaceSession _ session = do
let key = psKey $ sessionKey session
mold <- P.get key
maybe