mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
virStorageBackendLogicalParseVolExtents: Declare one variable per line
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
bd83527521
commit
bbd89d7894
@ -121,10 +121,13 @@ virStorageBackendLogicalParseVolExtents(virStorageVolDef *vol,
|
||||
g_autoptr(GRegex) re = NULL;
|
||||
g_autoptr(GError) err = NULL;
|
||||
g_autoptr(GMatchInfo) info = NULL;
|
||||
int nextents, ret = -1;
|
||||
int nextents;
|
||||
int ret = -1;
|
||||
const char *regex_unit = "(\\S+)\\((\\S+)\\)";
|
||||
size_t i;
|
||||
unsigned long long offset, size, length;
|
||||
unsigned long long offset;
|
||||
unsigned long long size;
|
||||
unsigned long long length;
|
||||
virStorageVolSourceExtent extent;
|
||||
g_autofree char *regex = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user