From f8d0c47bdb788145afa4bd1138da559b967481c8 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Thu, 16 Feb 2017 00:31:57 +0100 Subject: [PATCH] Remove unnecessary assignment and silence clang analyzer --- cJSON.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cJSON.c b/cJSON.c index fb6caca..5a25a90 100644 --- a/cJSON.c +++ b/cJSON.c @@ -453,7 +453,6 @@ static const unsigned char *parse_string(cJSON *item, const unsigned char *str, goto fail; } - ptr = str + 1; ptr2 = out; /* loop through the string literal */ while (ptr < end_ptr)