From becb16577043f6da03b729a252bff3a0d2ff63bf Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Wed, 26 Nov 2014 23:33:36 -0800 Subject: [PATCH] Simplifying code --- cmd/minio-decode/main.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/minio-decode/main.go b/cmd/minio-decode/main.go index 85f8c4711..2a8ce2c50 100644 --- a/cmd/minio-decode/main.go +++ b/cmd/minio-decode/main.go @@ -60,11 +60,7 @@ func main() { // get chunks chunks := make([][]byte, k+m) for i := 0; i < k+m; i++ { - var err error - chunks[i], err = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i)) - if err != nil { - continue - } + chunks[i], _ = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i)) } // get length