diff --git a/cJSON.c b/cJSON.c index d8ce5df5f8a2f8bd49bfbc0e6f566b212ef7f84c..f258360398be43e71e00c25a3db6319804c3c421 100644 --- a/cJSON.c +++ b/cJSON.c @@ -378,7 +378,6 @@ loop_end: } } } - number_c_string[i] = '\0'; number = strtod((const char*)number_c_string, (char**)&after_end); if (number_c_string == after_end)