chiark / gitweb /
networkd: manager - initialize variables
[elogind.git] / src / udev / net / link-config.c
index 7be4d24de732c86044186569e89472a890684c39..8234598e4518e5ae8a0e857e8cd075ba6b928d67 100644 (file)
@@ -140,7 +140,7 @@ void link_config_ctx_free(link_config_ctx *ctx) {
 
 static int load_link(link_config_ctx *ctx, const char *filename) {
         _cleanup_free_ link_config *link = NULL;
-        _cleanup_fclose_ FILE *file;
+        _cleanup_fclose_ FILE *file = NULL;
         int r;
 
         assert(ctx);