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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user