From 08a08be37080dd2e30095b6aca44a48e0d022748 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 17 Mar 2015 15:11:28 +0000 Subject: [PATCH] cosmetic --- router/json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/json.go b/router/json.go index e3091b24..9d27fdde 100644 --- a/router/json.go +++ b/router/json.go @@ -62,7 +62,7 @@ func (routes *Routes) MarshalJSON() ([]byte, error) { func (peer *Peer) MarshalJSON() ([]byte, error) { conns := make([]Connection, 0) - peer.ForEachConnection(func(remoteName PeerName, conn Connection) { + peer.ForEachConnection(func(_ PeerName, conn Connection) { conns = append(conns, conn) }) return json.Marshal(struct {