mirror of https://github.com/perkeep/perkeep.git
remove redundant return statement
Change-Id: I09f61e61c0aa2c0ecaec04eb7541374a3265879e
This commit is contained in:
parent
d136d91000
commit
0a1fe281ca
|
@ -381,7 +381,6 @@ func (sh *SyncHandler) runSync(srcName string, enumSrc func(chan<- blob.SizedRef
|
||||||
|
|
||||||
if err := <-errch; err != nil {
|
if err := <-errch; err != nil {
|
||||||
sh.addErrorToLog(fmt.Errorf("replication error for source %q, enumerate from source: %v", srcName, err))
|
sh.addErrorToLog(fmt.Errorf("replication error for source %q, enumerate from source: %v", srcName, err))
|
||||||
return nCopied
|
|
||||||
}
|
}
|
||||||
return nCopied
|
return nCopied
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue