From bb8076801c4385448931b4542090444061405cf7 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Mon, 15 Jul 2024 08:07:00 -0700 Subject: [PATCH] Remove unused-but-set-variable in ultrajsondec.c Variable is set, but never used. --- srsly/ujson/lib/ultrajsondec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/srsly/ujson/lib/ultrajsondec.c b/srsly/ujson/lib/ultrajsondec.c index a88a008..a3349a8 100644 --- a/srsly/ujson/lib/ultrajsondec.c +++ b/srsly/ujson/lib/ultrajsondec.c @@ -101,7 +101,6 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decodePreciseFloat(struct DecoderState *ds) FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_numeric (struct DecoderState *ds) { int intNeg = 1; - int mantSize = 0; JSUINT64 intValue; JSUINT64 prevIntValue; int chr; @@ -154,7 +153,6 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_numeric (struct DecoderState *ds) } offset ++; - mantSize ++; break; } case '.':