Commit a3b47c09 by Serge Hallyn

coverity: drop gratuitous null check

parent 915614c7
...@@ -1281,7 +1281,6 @@ static bool lxcapi_create(struct lxc_container *c, const char *t, ...@@ -1281,7 +1281,6 @@ static bool lxcapi_create(struct lxc_container *c, const char *t,
goto out_unlock; goto out_unlock;
/* reload config to get the rootfs */ /* reload config to get the rootfs */
if (c->lxc_conf)
lxc_conf_free(c->lxc_conf); lxc_conf_free(c->lxc_conf);
c->lxc_conf = NULL; c->lxc_conf = NULL;
if (!load_config_locked(c, c->configfile)) if (!load_config_locked(c, c->configfile))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment