forked from TrueCloudLab/neoneo-go
*: drop unused structure fields
Found by structcheck: `good` is unused (structcheck) and alike.
This commit is contained in:
parent
4cd3da99b4
commit
601841ef35
4 changed files with 0 additions and 5 deletions
|
@ -6,7 +6,6 @@ import (
|
||||||
|
|
||||||
type varScope struct {
|
type varScope struct {
|
||||||
localsCnt int
|
localsCnt int
|
||||||
argCnt int
|
|
||||||
arguments map[string]int
|
arguments map[string]int
|
||||||
locals []map[string]varInfo
|
locals []map[string]varInfo
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,6 @@ import (
|
||||||
type testDiscovery struct {
|
type testDiscovery struct {
|
||||||
sync.Mutex
|
sync.Mutex
|
||||||
bad []string
|
bad []string
|
||||||
good []string
|
|
||||||
connected []string
|
connected []string
|
||||||
unregistered []string
|
unregistered []string
|
||||||
backfill []string
|
backfill []string
|
||||||
|
|
|
@ -58,8 +58,6 @@ type TCPPeer struct {
|
||||||
p2pSendQ chan []byte
|
p2pSendQ chan []byte
|
||||||
hpSendQ chan []byte
|
hpSendQ chan []byte
|
||||||
|
|
||||||
wg sync.WaitGroup
|
|
||||||
|
|
||||||
// track outstanding getaddr requests.
|
// track outstanding getaddr requests.
|
||||||
getAddrSent atomic.Int32
|
getAddrSent atomic.Int32
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,6 @@ type (
|
||||||
|
|
||||||
subsLock sync.RWMutex
|
subsLock sync.RWMutex
|
||||||
subscribers map[*subscriber]bool
|
subscribers map[*subscriber]bool
|
||||||
subsGroup sync.WaitGroup
|
|
||||||
blockSubs int
|
blockSubs int
|
||||||
executionSubs int
|
executionSubs int
|
||||||
notificationSubs int
|
notificationSubs int
|
||||||
|
|
Loading…
Reference in a new issue