chiark / gitweb /
udev: net_setup - fix warning
[elogind.git] / src / udev / udev-builtin-net_setup_link.c
index 87d10bf78fa8f150f702d06e820fe194412890e1..55b6241309515c8a0983af40148fa4ef2b0ab09a 100644 (file)
@@ -27,7 +27,7 @@ static link_config_ctx *ctx = NULL;
 
 static int builtin_net_setup_link(struct udev_device *dev, int argc, char **argv, bool test) {
         _cleanup_free_ char *driver = NULL;
-        const char *name;
+        const char *name = NULL;
         link_config *link;
         int r;