fix OSX build warning

This commit is contained in:
Joey Hess 2014-12-29 16:38:52 -04:00
parent da1d9d500d
commit 415b2c53ed

View file

@ -19,9 +19,9 @@ watchDir dir ignored scanevents hooks = do
unlessM fileLevelEventsSupported $
error "Need at least OSX 10.7.0 for file-level FSEvents"
scan dir
eventStreamCreate [dir] 1.0 True True True handle
eventStreamCreate [dir] 1.0 True True True go
where
handle evt
go evt
| ignoredPath ignored (eventPath evt) = noop
| otherwise = do
{- More than one flag may be set, if events occurred