aboutsummaryrefslogtreecommitdiff
path: root/t/t4018/cpp-void-c-function
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2016-08-13 11:05:42 +0200
committerJunio C Hamano <gitster@pobox.com>2016-08-13 19:45:24 -0700
commitecf30b237cb278040f18c597c1dbdbc49793094d (patch)
tree9b64ad559e899fd13d933b6e1856e38e8cccc863 /t/t4018/cpp-void-c-function
parent6ac617a321383b2e3a0f0537e3224ec6229e6500 (diff)
downloadgit-ecf30b237cb278040f18c597c1dbdbc49793094d.tar.gz
git-ecf30b237cb278040f18c597c1dbdbc49793094d.tar.xz
mailinfo: recycle strbuf in check_header()
handle_message_id() duplicates the contents of the strbuf that is passed to it. Its only caller proceeds to release the strbuf immediately after that. Reuse it instead and make that change of object ownership more obvious by inlining this short function. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-void-c-function')
0 files changed, 0 insertions, 0 deletions