Skip to content

Commit

Permalink
fix ineffectual assignment to err warning
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Aug 24, 2020
1 parent 6c92734 commit 67e21cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (ns *NetSink) init() {
case string:
_, err := writer.WriteString(m)
if err == nil {
err = writer.Flush()
writer.Flush()
}
default:
log.Printf("Unsupported message type %v", m)
Expand Down

0 comments on commit 67e21cc

Please sign in to comment.