eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 236211af60028900e95409d8061649d0383f22da
parent 66b5541970dfc58cab54b439a34eb24886c0b557
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Wed, 31 Jul 2019 10:34:46 -0700

rtnlutil: fix compiler error

src/rtnlutil.c: In function ‘rtnl_route_add’:
./ell/util.h:248:2: error: ‘rtmmsg’ may be used uninitialized in
	this function [-Werror=maybe-uninitialized]

Diffstat:
Msrc/rtnlutil.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rtnlutil.c b/src/rtnlutil.c @@ -330,7 +330,7 @@ static uint32_t rtnl_route_add(struct l_netlink *rtnl, int ifindex, void *user_data, l_netlink_destroy_func_t destroy) { - L_AUTO_FREE_VAR(struct rtmsg *, rtmmsg); + L_AUTO_FREE_VAR(struct rtmsg *, rtmmsg) = NULL; struct in_addr in_addr; size_t bufsize; void *rta_buf;