Skip to content

Commit

Permalink
MT#55283 silence compiler warning
Browse files Browse the repository at this point in the history
Some compilers seem to think that there is some uninitialised usage
here. Work around this.

Closes #1891

Change-Id: Ic97a4b589fd2a0c33418a209557b7ce29009c7bf
(cherry picked from commit 4b614d8)
  • Loading branch information
rfuchs committed Dec 20, 2024
1 parent 5f54fb8 commit 75e5d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/nftables.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ static const char *add_rule(struct mnl_socket *nl, int family, uint32_t *seq,


static const char *udp_filter(struct nftnl_rule *r, int family) {
g_autoptr(_nftnl_expr) e;
g_autoptr(_nftnl_expr) e = NULL;

static const uint8_t proto = IPPROTO_UDP;

Expand Down

0 comments on commit 75e5d59

Please sign in to comment.