Remove unneeded Map allocation

This commit is contained in:
Harshavardhana
2015-03-16 11:11:49 -07:00
parent 5e5ff81292
commit 7fd77f522f
-2
View File
@@ -48,8 +48,6 @@ func New(res *http.Response) error {
var s3Err Error
s3Err.res = res
s3Err.resMsg = mxj.New()
s3Err.resMsg, err = mxj.NewMapXmlReader(res.Body)
if err != nil {
return err