From: tomponline Date: Mon, 4 Mar 2019 08:23:39 +0000 (+0000) Subject: network: shut up gcc. X-Git-Tag: lxc-3.2.0~125^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b029371090da6bdf44c8c36000cf306f9e320e53;p=thirdparty%2Flxc.git network: shut up gcc. Closes #2885. Signed-off-by: tomponline --- diff --git a/src/lxc/network.c b/src/lxc/network.c index fd7d867fc..fc3a8740d 100644 --- a/src/lxc/network.c +++ b/src/lxc/network.c @@ -550,7 +550,7 @@ out: #define PHYSNAME "/sys/class/net/%s/phy80211/name" static char *is_wlan(const char *ifname) { - __do_free char *path; + __do_free char *path = NULL; int i, ret; long physlen; size_t len;