Commit e438ef7c by Tycho Andersen Committed by Stéphane Graber

fix dead code

We've already checked that c is not null above, so the false branch can never be taken here. Reported-by: Coverity Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent dcd1e262
......@@ -1531,7 +1531,7 @@ static bool lxcapi_createl(struct lxc_container *c, const char *t,
return false;
struct lxc_conf *old = current_config;
current_config = c ? c->lxc_conf : NULL;
current_config = c->lxc_conf;
/*
* since we're going to wait for create to finish, I don't think we
......
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