From 13cf810766d9a45c3e823bcf86d43ae3ce4df90c Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sat, 1 May 2021 19:22:30 +0100 Subject: [PATCH] json_parse_ex: Remove redundant assignment to unused 'b'. The static analyser complains 'Value stored to 'b' is never read'. There isn't even much of a defence that it's just being defensive; we ought to *know* it isn't used from that point on. Signed-off-by: David Woodhouse --- json/json.c | 1 - 1 file changed, 1 deletion(-) diff --git a/json/json.c b/json/json.c index 5c961f98..1e878509 100644 --- a/json/json.c +++ b/json/json.c @@ -676,7 +676,6 @@ json_value * json_parse_ex (json_settings * settings, { if ( (++ state.ptr) == end) { - b = 0; break; } -- 2.50.1