[PATCH 21/23] virStorageBackendLogicalParseVolExtents: Declare one variable per line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/storage/storage_backend_logical.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/storage/storage_backend_logical.c b/src/storage/storage_backend_logical.c
index c23d0060ed..cffa2c8849 100644
--- a/src/storage/storage_backend_logical.c
+++ b/src/storage/storage_backend_logical.c
@@ -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;

-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux