mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 11:52:34 +01:00
netdev: Fix some uninitialized warnings
This commit is contained in:
parent
04de3af41f
commit
0eee94a264
@ -1181,10 +1181,10 @@ static void netdev_get_interface_callback(struct l_genl_msg *msg,
|
|||||||
struct l_genl_attr attr;
|
struct l_genl_attr attr;
|
||||||
uint16_t type, len;
|
uint16_t type, len;
|
||||||
const void *data;
|
const void *data;
|
||||||
const char *ifname;
|
const char *ifname = NULL;
|
||||||
uint16_t ifname_len;
|
uint16_t ifname_len = 0;
|
||||||
const uint8_t *ifaddr;
|
const uint8_t *ifaddr;
|
||||||
const uint32_t *ifindex, *iftype;
|
const uint32_t *ifindex = NULL, *iftype = NULL;
|
||||||
struct netdev *netdev;
|
struct netdev *netdev;
|
||||||
struct wiphy *wiphy = NULL;
|
struct wiphy *wiphy = NULL;
|
||||||
struct ifinfomsg *rtmmsg;
|
struct ifinfomsg *rtmmsg;
|
||||||
|
Loading…
Reference in New Issue
Block a user