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: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-05-28 13:27:43 +02:00
parent f1a571d669
commit f3815517f2
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -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;