Skip to content
Snippets Groups Projects
Commit c2a53b1b authored by tengufromsky's avatar tengufromsky Committed by Brad Fitzpatrick
Browse files

encoding/json: remove unnecessary if conditions

Fixes gosimple warning "if err != nil { return err };
return nil' can be simplified to 'return err"

Change-Id: Ife7f78a3a76ab7802b5561d1afec536e103b504a
Reviewed-on: https://go-review.googlesource.com/108275


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 9f10d283
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment