summaryrefslogtreecommitdiff
path: root/builtin/merge-file.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-08-13 11:55:00 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-13 11:04:58 -0700
commitd5e1961c19a2b638a700d03729cbb6c27fe5a3e8 (patch)
tree65a006210a42de947d1202d1bce01bfcd06378a4 /builtin/merge-file.c
parentGit 2.28 (diff)
downloadtgif-d5e1961c19a2b638a700d03729cbb6c27fe5a3e8.tar.xz
stop calling UNLEAK() before die()
The point of UNLEAK() is to make a reference to a variable that is about to go out of scope so that leak-checkers will consider it to be not-leaked. Doing so right before die() is therefore pointless; even though we are about to exit the program, the variable will still be on the stack and accessible to leak-checkers. These annotations aren't really hurting anything, but they clutter the code and set a bad example of how to use UNLEAK(). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge-file.c')
0 files changed, 0 insertions, 0 deletions