FileManager: bugfix - delete empty file reference
GitOrigin-RevId: 60480b877c828b1adcabd9dce9e2f6b8df72646a
This commit is contained in:
parent
faebe9faea
commit
0697962c3c
|
@ -403,7 +403,7 @@ class FullRemoteFileLocation {
|
||||||
return "#";
|
return "#";
|
||||||
}
|
}
|
||||||
bool delete_file_reference(Slice bad_file_reference) {
|
bool delete_file_reference(Slice bad_file_reference) {
|
||||||
if (file_reference_.empty()) {
|
if (file_reference_ == invalid_file_reference()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (file_reference_ != bad_file_reference) {
|
if (file_reference_ != bad_file_reference) {
|
||||||
|
|
Reference in New Issue
Block a user