Unverified Commit 32dad1cd by tomponline Committed by Christian Brauner

attacg: shut up gcc

Invalid warning but let's please the compiler. Closes lxc#2885. Signed-off-by: 's avatartomponline <tomp@tomp.uk>
parent 20c6f53a
...@@ -669,7 +669,7 @@ static bool no_new_privs(struct lxc_container *c, lxc_attach_options_t *options) ...@@ -669,7 +669,7 @@ static bool no_new_privs(struct lxc_container *c, lxc_attach_options_t *options)
static signed long get_personality(const char *name, const char *lxcpath) static signed long get_personality(const char *name, const char *lxcpath)
{ {
__do_free char *p; __do_free char *p = NULL;
p = lxc_cmd_get_config_item(name, "lxc.arch", lxcpath); p = lxc_cmd_get_config_item(name, "lxc.arch", lxcpath);
if (!p) if (!p)
......
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