mirror of
git://github.com/lxc/lxc
synced 2025-09-01 12:24:25 +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;
|
int count = 0;
|
||||||
bool owner = false;;
|
bool owner = false;;
|
||||||
char *buf_end = &buf[len];
|
char *buf_end;
|
||||||
|
|
||||||
buf_end = &buf[len];
|
buf_end = &buf[len];
|
||||||
while ((buf = find_line(buf, buf_end, name, net_type, net_link, NULL,
|
while ((buf = find_line(buf, buf_end, name, net_type, net_link, NULL,
|
||||||
|
Reference in New Issue
Block a user