Skip to content

Commit

Permalink
code health: remove the magic padding
Browse files Browse the repository at this point in the history
This patch removes the padding field in a connection shard structure.
The _pad field is unused in the code and there is no sense
to keep it anymore.

Closes #197
  • Loading branch information
vr009 committed Jul 22, 2022
1 parent e96f16b commit 01a5a23
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ type connShard struct {
bufmut sync.Mutex
buf smallWBuf
enc *msgpack.Encoder
_pad [16]uint64 //nolint: unused,structcheck
}

// Greeting is a message sent by Tarantool on connect.
Expand Down

0 comments on commit 01a5a23

Please sign in to comment.