Преглед изворни кода

Remove unnecessary assignment and silence clang analyzer

Max Bruckner пре 8 година
родитељ
комит
f8d0c47bdb
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      cJSON.c

+ 0 - 1
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)