util: Fix broken syntax-check

Commit id '743db933' broke at least one syntax check rule regard open/close
braces and perhaps more with spacing.  Just remove the braces
This commit is contained in:
John Ferlan 2016-06-16 06:17:58 -04:00
parent 743db933ed
commit 55be2920c3

View File

@ -123,9 +123,8 @@ int virAuthConfigLookup(virAuthConfigPtr auth,
if (!virKeyFileHasGroup(auth->keyfile, authgroup)) { if (!virKeyFileHasGroup(auth->keyfile, authgroup)) {
VIR_FREE(authgroup); VIR_FREE(authgroup);
if (virAsprintf(&authgroup, "auth-%s-%s", service, "default") < 0){ if (virAsprintf(&authgroup, "auth-%s-%s", service, "default") < 0)
goto cleanup; goto cleanup;
}
} }
if (!virKeyFileHasGroup(auth->keyfile, authgroup)) { if (!virKeyFileHasGroup(auth->keyfile, authgroup)) {