diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-13 16:23:41 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-13 16:23:41 -0700 |
commit | 43ceb9ed52eed01de2933bc0ef48d120a15be75a (patch) | |
tree | 7d001dce5ef87a8f2c772db678d4b404342a3af6 /src/inlines.c | |
parent | d8abed93b8639b4c1adf758bf10e4c45f337df8c (diff) |
Add NOLINTNEXTLINE to avoid a useless linter error.
Diffstat (limited to 'src/inlines.c')
-rw-r--r-- | src/inlines.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inlines.c b/src/inlines.c index 15290a0..13dd466 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -99,6 +99,7 @@ static CMARK_INLINE cmark_node *make_simple(cmark_mem *mem, cmark_node_type t) { static cmark_node *make_str(subject *subj, int sc, int ec, cmark_chunk s) { cmark_node *e = make_literal(subj, CMARK_NODE_TEXT, sc, ec); + // NOLINTNEXTLINE(clang-analyzer-core.NonNullParamChecker) e->data = (unsigned char *)subj->mem->realloc(NULL, s.len + 1); memcpy(e->data, s.data, s.len); e->data[s.len] = 0; |