libyang MAINTENANCE source code formatting
diff --git a/src/json.c b/src/json.c
index e52b3de..09b6303 100644
--- a/src/json.c
+++ b/src/json.c
@@ -170,7 +170,7 @@
* (one-char) entities and character references */
if (len + offset + 4 >= size) {
size_t increment;
- for (increment = BUFSIZE_STEP; len + offset + 4 >= size + increment; increment += BUFSIZE_STEP) ;
+ for (increment = BUFSIZE_STEP; len + offset + 4 >= size + increment; increment += BUFSIZE_STEP) {}
buf = ly_realloc(buf, size + increment);
LY_CHECK_ERR_RET(!buf, LOGMEM(jsonctx->ctx), LY_EMEM);
size += BUFSIZE_STEP;