Skip to content

Commit 01a5a23

Browse files
committed
code health: remove the magic padding
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
1 parent e96f16b commit 01a5a23

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

connection.go

-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ type connShard struct {
197197
bufmut sync.Mutex
198198
buf smallWBuf
199199
enc *msgpack.Encoder
200-
_pad [16]uint64 //nolint: unused,structcheck
201200
}
202201

203202
// Greeting is a message sent by Tarantool on connect.

0 commit comments

Comments
 (0)