start: do not init ns_clone_flags to -1

ns_clone_flags is used as a bitmask so initializing it to -1 is a bad idea. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent f1a571d6
...@@ -619,8 +619,6 @@ void lxc_zero_handler(struct lxc_handler *handler) ...@@ -619,8 +619,6 @@ void lxc_zero_handler(struct lxc_handler *handler)
memset(handler, 0, sizeof(struct lxc_handler)); memset(handler, 0, sizeof(struct lxc_handler));
handler->ns_clone_flags = -1;
handler->pinfd = -1; handler->pinfd = -1;
handler->sigfd = -1; handler->sigfd = -1;
......
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