libyang MAINTENANCE change format of the empty loops
To improve readability and because of processing by the formatting
tools, add explicit empty block to the empty loops (for, while).
diff --git a/src/printer_lyb.c b/src/printer_lyb.c
index 0cb070d..12dc0a8 100644
--- a/src/printer_lyb.c
+++ b/src/printer_lyb.c
@@ -860,7 +860,7 @@
}
/* written hash was a collision, write also all the preceding hashes */
- for (i = 0; !(hash & (LYB_HASH_COLLISION_ID >> i)); ++i);
+ for (i = 0; !(hash & (LYB_HASH_COLLISION_ID >> i)); ++i) {}
for (; i; --i) {
hash = lyb_hash(schema, i - 1);