mirror of https://gitee.com/openkylin/libvirt.git
xm_internal.c: remove dead increment of "data"
* src/xm_internal.c (xenXMDomainConfigParse): Don't increment it.
This commit is contained in:
parent
130634dd7c
commit
aecae56071
|
@ -1314,7 +1314,6 @@ xenXMDomainConfigParse(virConnectPtr conn, virConfPtr conf) {
|
|||
|
||||
if (!(data = strchr(key, '=')) || (data[0] == '\0'))
|
||||
break;
|
||||
data++;
|
||||
|
||||
if (graphics->type == VIR_DOMAIN_GRAPHICS_TYPE_VNC) {
|
||||
if (STRPREFIX(key, "vncunused=")) {
|
||||
|
|
Loading…
Reference in New Issue