소스 검색

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)