summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FilesystemWatcher.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-07-12 15:37:53 -0500
committerGitHub <noreply@github.com>2025-07-12 15:37:53 -0500
commitd92f7f194cbd039bb6c16d7235cf3d92aa6c884d (patch)
treec20781479b42392bea8ba2169d0e123e9a98d0c3 /Source/Core/Common/FilesystemWatcher.cpp
parentf76ab863266d012281e52bceda355bc72f36edb8 (diff)
parent06882bd2dca4ea92d0608077c45cff6cb7e41583 (diff)
Merge pull request #13747 from JoshuaVandaele/warns-only
Fix various warnings
Diffstat (limited to 'Source/Core/Common/FilesystemWatcher.cpp')
-rw-r--r--Source/Core/Common/FilesystemWatcher.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Common/FilesystemWatcher.cpp b/Source/Core/Common/FilesystemWatcher.cpp
index 646e2467ed..94970232b2 100644
--- a/Source/Core/Common/FilesystemWatcher.cpp
+++ b/Source/Core/Common/FilesystemWatcher.cpp
@@ -31,13 +31,13 @@ void FilesystemWatcher::Watch(const std::string& path)
if (e.effect_type == wtr::event::effect_type::create)
{
- const auto path = WithUnifiedPathSeparators(watched_path);
- PathAdded(path);
+ const auto unified_path = WithUnifiedPathSeparators(watched_path);
+ PathAdded(unified_path);
}
else if (e.effect_type == wtr::event::effect_type::modify)
{
- const auto path = WithUnifiedPathSeparators(watched_path);
- PathModified(path);
+ const auto unified_path = WithUnifiedPathSeparators(watched_path);
+ PathModified(unified_path);
}
else if (e.effect_type == wtr::event::effect_type::rename)
{
@@ -53,8 +53,8 @@ void FilesystemWatcher::Watch(const std::string& path)
}
else if (e.effect_type == wtr::event::effect_type::destroy)
{
- const auto path = WithUnifiedPathSeparators(watched_path);
- PathDeleted(path);
+ const auto unified_path = WithUnifiedPathSeparators(watched_path);
+ PathDeleted(unified_path);
}
});
}