1. 28 11月, 2016 1 次提交
    • S
      Take out len from condition check. · 038b04d8
      Stephan 提交于
      Otherwise, the check is just undefined behaviour. gcc even takes out
      this check because len can never be zero if len does not wrap around.
      
      Found with -Wstrict-overflow=2
      038b04d8
  2. 25 11月, 2016 1 次提交
  3. 19 11月, 2016 3 次提交
  4. 14 11月, 2016 2 次提交
  5. 11 11月, 2016 1 次提交
  6. 08 11月, 2016 1 次提交
  7. 07 11月, 2016 1 次提交
  8. 05 11月, 2016 1 次提交
  9. 31 10月, 2016 1 次提交
  10. 29 10月, 2016 1 次提交
  11. 28 10月, 2016 1 次提交
    • J
      Remove redundant test from cJSON_AddItemToArray · 9f00ff9a
      Jonathan Fether 提交于
      The test for whether "c" is null is redundant.  Since this is the else case of "(!c)", and the only way "c" is changed is by the instruction assigning it "c->next" on the condition here, simply verifying that "c->next" isn't null is sufficient.
      9f00ff9a
  12. 18 10月, 2016 1 次提交
  13. 08 10月, 2016 1 次提交
  14. 02 10月, 2016 24 次提交