storage: eliminate unnecessary labels

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Laine Stump 2020-07-02 23:24:51 -04:00
parent e205c3ebfa
commit 322727a4cb

View File

@ -749,7 +749,7 @@ storageBackendCreateQemuImgOpts(virStorageEncryptionInfoDefPtr encinfo,
_("lazy_refcounts not supported with compat" _("lazy_refcounts not supported with compat"
" level %s"), " level %s"),
info->compat); info->compat);
goto error; return -1;
} }
virBufferAddLit(&buf, "lazy_refcounts,"); virBufferAddLit(&buf, "lazy_refcounts,");
} }
@ -759,9 +759,6 @@ storageBackendCreateQemuImgOpts(virStorageEncryptionInfoDefPtr encinfo,
*opts = virBufferContentAndReset(&buf); *opts = virBufferContentAndReset(&buf);
return 0; return 0;
error:
return -1;
} }