[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake/master] Remove unreachable code
commit 28cf70bb444f0745d4a5221850ad213ca6799e7d
Author: Arlo Breault <arlolra@xxxxxxxxx>
Date: Sat Feb 8 10:12:43 2020 -0500
Remove unreachable code
go vet was complaining,
common/websocketconn/websocketconn.go:56:2: unreachable code
---
common/websocketconn/websocketconn.go | 1 -
1 file changed, 1 deletion(-)
diff --git a/common/websocketconn/websocketconn.go b/common/websocketconn/websocketconn.go
index 73c2b25..46bb977 100644
--- a/common/websocketconn/websocketconn.go
+++ b/common/websocketconn/websocketconn.go
@@ -53,7 +53,6 @@ func readLoop(w io.Writer, ws *websocket.Conn) error {
return err
}
}
- return nil
}
func writeLoop(ws *websocket.Conn, r io.Reader) error {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits