mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
Remove possible uninitialized variable in openvz driver
* src/openvz/openvz_driver.c: Initialize saveptr variable
This commit is contained in:
parent
9e3550dc4e
commit
222402417d
@ -638,7 +638,7 @@ openvzGenerateContainerVethName(int veid)
|
||||
if (openvzReadVPSConfigParam(veid, "NETIF", &temp) <= 0) {
|
||||
name = strdup("eth0");
|
||||
} else {
|
||||
char *saveptr;
|
||||
char *saveptr = NULL;
|
||||
char *s;
|
||||
int max = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user