From a2d0bfdc62c8b53d41f60ff70d5fe86a8012e211 Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Wed, 8 Apr 2015 23:17:54 -0700 Subject: [PATCH] Simplifying switch case --- cmd-common.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd-common.go b/cmd-common.go index 0946d3ae..411c6ee3 100644 --- a/cmd-common.go +++ b/cmd-common.go @@ -86,12 +86,7 @@ func getNewClient(debug bool, urlStr string) (clnt client.Client, err error) { clnt = s3.GetNewClient(&auth, urlStr, http.DefaultTransport) } return clnt, nil - case urlFile: // POSIX compatible file systems - fallthrough - case urlUnknown: // Unknown type - fallthrough default: return nil, iodine.New(errUnsupportedScheme, nil) } - }