summaryrefslogtreecommitdiff
path: root/contrib/coccinelle/strbuf.cocci
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2019-04-03 15:00:06 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-04 18:22:30 +0900
commit0cf2b0a04bb9b48fb0d91f47ce5fd2ea436112c8 (patch)
treeff9b05a94bd455c1328d0d48fe117330d306b6de /contrib/coccinelle/strbuf.cocci
parentmidx.c: convert FLEX_ALLOC_MEM to FLEX_ALLOC_STR (diff)
downloadtgif-0cf2b0a04bb9b48fb0d91f47ce5fd2ea436112c8.tar.xz
cocci: FLEX_ALLOC_MEM to FLEX_ALLOC_STR
Ensure that a FLEX_MALLOC_MEM that uses 'strlen' for its 'len' uses FLEX_ALLOC_STR instead, since these are equivalent forms. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/coccinelle/strbuf.cocci')
0 files changed, 0 insertions, 0 deletions