mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
storage_backend_logical.c: appease clang: remove useless increment
* src/storage_backend_logical.c (virStorageBackendLogicalBuildPool): Don't increment "n" when we won't use the result.
This commit is contained in:
parent
d5df676938
commit
f4d881649a
@ -437,7 +437,7 @@ virStorageBackendLogicalBuildPool(virConnectPtr conn,
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
vgargv[n++] = NULL;
|
||||
vgargv[n] = NULL;
|
||||
|
||||
/* Now create the volume group itself */
|
||||
if (virRun(conn, vgargv, NULL) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user