mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 15:52:55 +00:00
openvzDomainDefineCmd: remove useless increment
* src/openvz/openvz_driver.c (openvzDomainDefineCmd): Remove useless increment of "max_veid".
This commit is contained in:
parent
27efcfb7eb
commit
77d118b4ce
@ -166,7 +166,7 @@ openvzDomainDefineCmd(virConnectPtr conn,
|
||||
max_veid++;
|
||||
}
|
||||
|
||||
sprintf(str_id, "%d", max_veid++);
|
||||
sprintf(str_id, "%d", max_veid);
|
||||
ADD_ARG_LIT(str_id);
|
||||
|
||||
ADD_ARG_LIT("--name");
|
||||
|
Loading…
x
Reference in New Issue
Block a user