From 0a1fe281ca53826a793a38855ac6b87e7ccfebb4 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 11 Feb 2014 10:50:30 +1100 Subject: [PATCH] remove redundant return statement Change-Id: I09f61e61c0aa2c0ecaec04eb7541374a3265879e --- pkg/server/sync.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/server/sync.go b/pkg/server/sync.go index aba65bab9..ba11b1f7b 100644 --- a/pkg/server/sync.go +++ b/pkg/server/sync.go @@ -381,7 +381,6 @@ func (sh *SyncHandler) runSync(srcName string, enumSrc func(chan<- blob.SizedRef if err := <-errch; err != nil { sh.addErrorToLog(fmt.Errorf("replication error for source %q, enumerate from source: %v", srcName, err)) - return nCopied } return nCopied }