From 7de019a256ff74a47d84896d97f56c50b66b477a Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Tue, 5 Sep 2017 16:34:57 -0700 Subject: [PATCH] lib: json: Silence warning about unused parameter Signed-off-by: Leandro Pereira --- lib/json/json.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/json/json.c b/lib/json/json.c index 576e55f5623..2d9f01be002 100644 --- a/lib/json/json.c +++ b/lib/json/json.c @@ -903,6 +903,8 @@ static int measure_bytes(const char *bytes, size_t len, void *data) *total += (ssize_t)len; + ARG_UNUSED(bytes); + return 0; }