Skip to content

Commit

Permalink
Add unnecessary return statement to make Go 1.0 compiler happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed May 27, 2013
1 parent 9b9cf5e commit 261a4a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shadowsocks/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,6 @@ func (c *Cipher) Copy() *Cipher {
nc.dec = nil
return &nc
}
// should not reach here, keep it to make go 1.0.x compiler happy
return nil
}

0 comments on commit 261a4a0

Please sign in to comment.