summaryrefslogtreecommitdiff
path: root/builtin/diff.c
diff options
context:
space:
mode:
authorLibravatar Ramsay Jones <ramsay@ramsay1.demon.co.uk>2012-02-02 04:59:23 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-02 10:53:18 -0800
commit173223aa62519033e547937c692f5540f59d9025 (patch)
tree6d19cf6b6a6ff93c437b3a93de53433666169aa8 /builtin/diff.c
parentvcs-svn/svndiff.c: squelch false "unused" warning from gcc (diff)
downloadtgif-173223aa62519033e547937c692f5540f59d9025.tar.xz
vcs-svn: rename check_overflow arguments for clarity
Code using the argument names a and b just doesn't look right (not sure why!). Use more explicit names "offset" and "len" to make their type and meaning clearer. Also rename check_overflow() to check_offset_overflow() to clarify that we are making sure that "len" bytes beyond "offset" still fits the type to represent an offset. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions