mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-17 20:56:02 +00:00
Coverity 72944
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ class ExclusiveSharedLockManager implements LockManager {
|
||||
}
|
||||
// or otherwise look for parent locks:
|
||||
if (locator.parent().isPresent()) {
|
||||
return getLockInternal(type, scope, locator.parent().get(), depth++);
|
||||
return getLockInternal(type, scope, locator.parent().get(), depth + 1);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user