From d77fa847c3fac6c186b96bb17456f688d14c4f42 Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Wed, 14 May 2014 11:37:27 -0600 Subject: [PATCH] security_dac: Remove unnecessary curly braces --- src/security/security_dac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/security/security_dac.c b/src/security/security_dac.c index 3dc15040ad..39bd6cb900 100644 --- a/src/security/security_dac.c +++ b/src/security/security_dac.c @@ -1042,9 +1042,8 @@ virSecurityDACGenLabel(virSecurityManagerPtr mgr, virSecurityDACDataPtr priv = virSecurityManagerGetPrivateData(mgr); seclabel = virDomainDefGetSecurityLabelDef(def, SECURITY_DAC_NAME); - if (seclabel == NULL) { + if (seclabel == NULL) return rc; - } if (seclabel->imagelabel) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s",