mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
Fix warning
This commit is contained in:
parent
13261318e0
commit
61b1e2ceb2
@ -661,8 +661,8 @@ rtnl_read_reply (int rtnl_fd, int seq_nr)
|
||||
return 1;
|
||||
if (rheader->nlmsg_type == NLMSG_ERROR)
|
||||
{
|
||||
uint32_t err = NLMSG_DATA(rheader);
|
||||
if (err == 0)
|
||||
uint32_t *err = NLMSG_DATA(rheader);
|
||||
if (*err == 0)
|
||||
return 0;
|
||||
|
||||
return 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user