Remove unnecessary zero initialization
This commit is contained in:
parent
43371bf347
commit
09513e63fe
@ -434,7 +434,7 @@ func (uc *upstreamConn) handleMessage(ctx context.Context, msg *irc.Message) err
|
||||
delete(msg.Tags, "batch")
|
||||
}
|
||||
|
||||
var downstreamID uint64 = 0
|
||||
var downstreamID uint64
|
||||
if label != "" {
|
||||
var labelOffset uint64
|
||||
n, err := fmt.Sscanf(label, "sd-%d-%d", &downstreamID, &labelOffset)
|
||||
|
Loading…
Reference in New Issue
Block a user