We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling cJSON.c... ..\NET\cJSON\cJSON.c(55): warning: #1293-D: assignment in condition if (!(copy = (char*)cJSON_malloc(len))) return 0; ..\NET\cJSON\cJSON.c(280): warning: #1293-D: assignment in condition ptr=str;while ((token=ptr) && ++len) {if (strchr(""\\b\f\n\r\t",token)) len++; else if (token<32) len+=5;ptr++;} ..\NET\cJSON\cJSON.c(354): warning: #111-D: statement is unreachable return p.buffer; ..\NET\cJSON\cJSON.c(425): warning: #1293-D: assignment in condition if (!(new_item=cJSON_New_Item())) return 0; / memory fail / ..\NET\cJSON\cJSON.c(537): warning: #1293-D: assignment in condition if (!(new_item=cJSON_New_Item())) return 0; / memory fail */ ..\NET\cJSON\cJSON.c: 5 warnings, 0 errors
The text was updated successfully, but these errors were encountered:
The code snippet in error log seems doesn't exist in the latest source code, could you provide more information?
Sorry, something went wrong.
No branches or pull requests
compiling cJSON.c...
..\NET\cJSON\cJSON.c(55): warning: #1293-D: assignment in condition
if (!(copy = (char*)cJSON_malloc(len))) return 0;
..\NET\cJSON\cJSON.c(280): warning: #1293-D: assignment in condition
ptr=str;while ((token=ptr) && ++len) {if (strchr(""\\b\f\n\r\t",token)) len++; else if (token<32) len+=5;ptr++;}
..\NET\cJSON\cJSON.c(354): warning: #111-D: statement is unreachable
return p.buffer;
..\NET\cJSON\cJSON.c(425): warning: #1293-D: assignment in condition
if (!(new_item=cJSON_New_Item())) return 0; / memory fail /
..\NET\cJSON\cJSON.c(537): warning: #1293-D: assignment in condition
if (!(new_item=cJSON_New_Item())) return 0; / memory fail */
..\NET\cJSON\cJSON.c: 5 warnings, 0 errors
The text was updated successfully, but these errors were encountered: