提交 f4d88164 编写于 作者: J Jim Meyering

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.
上级 d5df6769
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册