diff options
author | 2021-12-02 20:09:05 +0000 | |
---|---|---|
committer | 2021-12-02 21:26:30 +0000 | |
commit | 2a79da0acab61b76fc280d4d6921aec4416f21d4 (patch) | |
tree | 523fc09e5ad65c7e781cd30cff0eca4884745b82 /jni/FuseUtils.cpp | |
parent | 984d729aaef179d641c53afa6c49a168128402fa (diff) |
Fix build warnings
Remove some nits and obsolete declarations to fix all the compiler
warnings.
Bug: 202785178
Test: m
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I0407bafbb0b3f66887ac163dba441285a58ca26d
Diffstat (limited to 'jni/FuseUtils.cpp')
-rw-r--r-- | jni/FuseUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/FuseUtils.cpp b/jni/FuseUtils.cpp index 1758151e6..7b0816488 100644 --- a/jni/FuseUtils.cpp +++ b/jni/FuseUtils.cpp @@ -35,7 +35,7 @@ bool containsMount(const string& path) { return false; } - size_t pos = path.find_first_of("/", prefix.length()); + size_t pos = path.find_first_of('/', prefix.length()); if (pos == std::string::npos) { return false; } |