diff options
author | Jeff King <peff@peff.net> | 2016-08-03 18:56:57 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-04 13:33:27 -0700 |
commit | c81539b5f6f608ec48358ca6a35f7323e96432e1 (patch) | |
tree | 6ef4b02d1f0c984d7f84796826dca4eb856ebf8b /pack-bitmap.c | |
parent | Ninth batch of topics for 2.10 (diff) | |
download | tgif-c81539b5f6f608ec48358ca6a35f7323e96432e1.tar.xz |
trace: handle NULL argument in trace_disable()
All of the trace functions treat a NULL key as a synonym for
the default GIT_TRACE key. Except for trace_disable(), which
will segfault.
Fortunately, this can't cause any bugs, as the function has
no callers. But rather than drop it, let's fix the bug, as I
plan to add a caller.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap.c')
0 files changed, 0 insertions, 0 deletions