3
0
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:
Denis Kenzior 2016-06-23 17:34:11 -05:00
parent 04de3af41f
commit 0eee94a264

View File

@ -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;