Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Silence invalid Coverity complaint in jsonReadPush().
Coverity complains that the output from THROW_FMT will be unpredictable since the order of operations in the call is not deterministic, but it fails to understand that subsequent calls to jsonReadTypeNextIgnoreComma() are noops until the value has been processed. Silence Coverity by assigning the actual type to a local variable so jsonReadTypeNextIgnoreComma() is only called once. Also fix an adjacent comment typo.
- Loading branch information