[PATCH] Remove redundant braces

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

 



---
Pushed as trivial.

 src/util/virjson.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/util/virjson.c b/src/util/virjson.c
index f0a06ab..7044e11 100644
--- a/src/util/virjson.c
+++ b/src/util/virjson.c
@@ -1018,9 +1018,8 @@ cleanup:
 
     if (parser.nstate) {
         size_t i;
-        for (i = 0; i < parser.nstate; i++) {
+        for (i = 0; i < parser.nstate; i++)
             VIR_FREE(parser.state[i].key);
-        }
         VIR_FREE(parser.state);
     }
 
-- 
1.8.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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]