fix build warning

This commit is contained in:
Joey Hess 2020-10-19 14:48:21 -04:00
parent c337b58caf
commit 72644d919a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -428,9 +428,9 @@ seekHelper c ww a (WorkTreeItems l) = do
mk Nothing f = (SeekInput [fromRawFilePath (c f)], f)
go v os fs g = do
(l, cleanup) <- a os fs g
(ls, cleanup) <- a os fs g
liftIO $ modifyIORef' v (cleanup:)
return l
return ls
cleanupall v = do
cleanups <- readIORef v