Skip to content

Commit 7de019a

Browse files
lpereiraAnas Nashif
authored andcommitted
lib: json: Silence warning about unused parameter
Signed-off-by: Leandro Pereira <[email protected]>
1 parent 7a72ecd commit 7de019a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/json/json.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,8 @@ static int measure_bytes(const char *bytes, size_t len, void *data)
903903

904904
*total += (ssize_t)len;
905905

906+
ARG_UNUSED(bytes);
907+
906908
return 0;
907909
}
908910

0 commit comments

Comments
 (0)