summaryrefslogtreecommitdiff
path: root/t/t3304-notes-mixed.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-12-11 11:14:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-12-11 11:14:38 -0800
commit58e3dd21f68c5eec945e7ddd4690733bd0103ce5 (patch)
tree2f68876b8a17df7a81115112d5762d6282b985dc /t/t3304-notes-mixed.sh
parentMerge branch 'sg/lock-file-commit-error' into maint (diff)
parentrevision.c: fix possible null pointer arithmetic (diff)
downloadtgif-58e3dd21f68c5eec945e7ddd4690733bd0103ce5.tar.xz
Merge branch 'sn/null-pointer-arith-in-mark-tree-uninteresting' into maint
mark_tree_uninteresting() has code to handle the case where it gets passed a NULL pointer in its 'tree' parameter, but the function had 'object = &tree->object' assignment before checking if tree is NULL. This gives a compiler an excuse to declare that tree will never be NULL and apply a wrong optimization. Avoid it. * sn/null-pointer-arith-in-mark-tree-uninteresting: revision.c: fix possible null pointer arithmetic
Diffstat (limited to 't/t3304-notes-mixed.sh')
0 files changed, 0 insertions, 0 deletions