mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
smbd: Save a few bytes of .text
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
d650f884ec
commit
fba4e66df5
@ -96,7 +96,7 @@ enum protocol_types smbd_smb2_protocol_dialect_match(const uint8_t *indyn,
|
||||
const int dialect_count,
|
||||
uint16_t *dialect)
|
||||
{
|
||||
struct {
|
||||
static const struct {
|
||||
enum protocol_types proto;
|
||||
uint16_t dialect;
|
||||
} pd[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user