From: David Woodhouse Date: Sat, 1 May 2021 18:22:30 +0000 (+0100) Subject: json_parse_ex: Remove redundant assignment to unused 'b'. X-Git-Tag: v8.20~224 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=13cf810766d9a45c3e823bcf86d43ae3ce4df90c;p=users%2Fdwmw2%2Fopenconnect.git 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 --- 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; }