lib/db: Constant/unused args and return values, double it.Release (#8259)
This commit is contained in:
@@ -825,10 +825,7 @@ func (t readWriteTransaction) removeFromGlobal(gk, keyBuf, folder, device, file
|
||||
return keyBuf, t.Delete(gk)
|
||||
}
|
||||
|
||||
removedFV, haveRemoved, globalChanged, err := fl.pop(device, file)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
removedFV, haveRemoved, globalChanged := fl.pop(device)
|
||||
if !haveRemoved {
|
||||
// There is no version for the given device
|
||||
return keyBuf, nil
|
||||
|
||||
Reference in New Issue
Block a user