From 36354358f302018ba173bd3f2866580ed228098a Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Sun, 18 Jan 2026 18:11:05 -0500 Subject: [PATCH] chore: remove redundant zero value initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush --- internal/pubsub/broker.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/pubsub/broker.go b/internal/pubsub/broker.go index ed14cbfed6c8fd44355501e16457e0dd92a494bc..d14877353819d4462f42d4e41997e92527843c98 100644 --- a/internal/pubsub/broker.go +++ b/internal/pubsub/broker.go @@ -23,7 +23,6 @@ func NewBrokerWithOptions[T any](channelBufferSize, maxEvents int) *Broker[T] { b := &Broker[T]{ subs: make(map[chan Event[T]]struct{}), done: make(chan struct{}), - subCount: 0, maxEvents: maxEvents, } return b