diff options
author | Joey Hess <joeyh@joeyh.name> | 2014-12-29 16:38:52 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2014-12-29 16:38:52 -0400 |
commit | 760c49391bd07351ecd602d1df0f872c28e8712b (patch) | |
tree | 66f555eada17216cc4b35d63bffcdfa03ed5f70b /Utility | |
parent | b87f1da7b5b17a7bc3d45a585bf1f2b3231e7792 (diff) |
fix OSX build warning
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/DirWatcher/FSEvents.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utility/DirWatcher/FSEvents.hs b/Utility/DirWatcher/FSEvents.hs index 7d755518f..93d4a24ae 100644 --- a/Utility/DirWatcher/FSEvents.hs +++ b/Utility/DirWatcher/FSEvents.hs @@ -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 |