提交 b9df3555 编写于 作者: J Ján Tomko

maint: remove whitespace from closing parentheses

To allow tightening syntax check.
上级 ca773b2f
...@@ -4178,8 +4178,7 @@ qemuBuildVideoCommandLine(virCommandPtr cmd, ...@@ -4178,8 +4178,7 @@ qemuBuildVideoCommandLine(virCommandPtr cmd,
(primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_QXL && (primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_QXL &&
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_QXL_VGA)) || virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_QXL_VGA)) ||
(primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_VIRTIO && (primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_VIRTIO &&
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_VIRTIO_GPU))) virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_VIRTIO_GPU)))) {
) {
for (i = 0; i < def->nvideos; i++) { for (i = 0; i < def->nvideos; i++) {
char *str; char *str;
virCommandAddArg(cmd, "-device"); virCommandAddArg(cmd, "-device");
......
...@@ -321,8 +321,7 @@ vzDriverObjNew(void) ...@@ -321,8 +321,7 @@ vzDriverObjNew(void)
!(driver->domainEventState = virObjectEventStateNew()) || !(driver->domainEventState = virObjectEventStateNew()) ||
(vzInitVersion(driver) < 0) || (vzInitVersion(driver) < 0) ||
(prlsdkConnect(driver) < 0) || (prlsdkConnect(driver) < 0) ||
(prlsdkSubscribeToPCSEvents(driver) < 0) (prlsdkSubscribeToPCSEvents(driver) < 0)) {
) {
virObjectUnref(driver); virObjectUnref(driver);
return NULL; return NULL;
} }
......
...@@ -2266,8 +2266,7 @@ prlsdkCheckUnsupportedParams(PRL_HANDLE sdkdom, virDomainDefPtr def) ...@@ -2266,8 +2266,7 @@ prlsdkCheckUnsupportedParams(PRL_HANDLE sdkdom, virDomainDefPtr def)
!((def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE && !((def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE &&
def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_KBD) || def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_KBD) ||
(def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_KBD && (def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_KBD &&
def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE)) def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE))) {
) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("unsupported input device configuration")); _("unsupported input device configuration"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册