author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Thu, 2 Feb 2012 10:59:23 +0000 (04:59 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 2 Feb 2012 18:53:18 +0000 (10:53 -0800) | ||
commit | 173223aa62519033e547937c692f5540f59d9025 | |
tree | 6d19cf6b6a6ff93c437b3a93de53433666169aa8 | tree | snapshot |
parent | 58ebd9865d2bb9d42842fbac5a1c4eae49e92859 | commit | diff |
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>
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>
vcs-svn/sliding_window.c | diff | blob | history |