2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 17:29:32 +00:00

lxc-user-nic: remove double initialization

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2017-09-10 08:23:36 +02:00
parent 2468599d8e
commit cef588fcf0

View File

@@ -638,7 +638,7 @@ static int count_entries(char *buf, off_t len, char *name, char *net_type, char
{
int count = 0;
bool owner = false;;
char *buf_end = &buf[len];
char *buf_end;
buf_end = &buf[len];
while ((buf = find_line(buf, buf_end, name, net_type, net_link, NULL,