lxc-user-nic: initialize vars to silence gcc-7

parent 8424b4e1
...@@ -1055,10 +1055,10 @@ do_partial_cleanup: ...@@ -1055,10 +1055,10 @@ do_partial_cleanup:
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
int container_veth_ifidx, fd, host_veth_ifidx, n, pid, request, ret; int fd, n, pid, request, ret;
char *me, *newname; char *me, *newname;
struct user_nic_args args; struct user_nic_args args;
int netns_fd = -1; int container_veth_ifidx = -1, host_veth_ifidx = -1, netns_fd = -1;
char *cnic = NULL, *nicname = NULL; char *cnic = NULL, *nicname = NULL;
struct alloted_s *alloted = NULL; struct alloted_s *alloted = NULL;
......
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