summaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-10-08 16:14:57 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-10 11:37:41 -0700
commit39ea59a2570547166834ceeff9ae0c0c05748f35 (patch)
treeb9874de8e3ca7b71f3ca23dd8f0a92fe210b2ec0 /submodule.c
parentcoccicheck: make transformation for strbuf_addf(sb, "...") more precise (diff)
downloadtgif-39ea59a2570547166834ceeff9ae0c0c05748f35.tar.xz
remove unnecessary NULL check before free(3)
free(3) handles NULL pointers just fine. Add a semantic patch for removing unnecessary NULL checks before calling this function, and apply it on the code base. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.c')
0 files changed, 0 insertions, 0 deletions