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:
Jim Meyering 2009-09-03 18:14:48 +02:00
parent d5df676938
commit f4d881649a

View File

@ -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)