From dea0fba5bec6a5f98b271c242f41a757c7b64ed1 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 27 Sep 2022 10:52:39 +0200 Subject: [PATCH] Cleanup (warnings) GitOrigin-RevId: d49b7ecb515a5240c9a6429f155f2f09ffd61f4b --- native/fsNotifier/mac/fsnotifier.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/native/fsNotifier/mac/fsnotifier.c b/native/fsNotifier/mac/fsnotifier.c index 604712780441..aaeab7c8f4a6 100644 --- a/native/fsNotifier/mac/fsnotifier.c +++ b/native/fsNotifier/mac/fsnotifier.c @@ -1,10 +1,10 @@ // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -#include #include #include #include #include +#include #define PRIVATE_DIR "/private/" #define PRIVATE_LEN 9 @@ -45,7 +45,6 @@ static void callback(__unused ConstFSEventStreamRef streamRef, char **paths = eventPaths; for (size_t i = 0; i < numEvents; i++) { - // TODO[max] Lion has much more detailed flags we need accurately process. For now just reduce to SL events range. FSEventStreamEventFlags flags = eventFlags[i] & 0xFF; if ((flags & kFSEventStreamEventFlagMustScanSubDirs) != 0) { reportEvent("RECDIRTY", paths[i]);