author | Junio C Hamano <gitster@pobox.com> | |
Fri, 27 Jan 2012 19:58:56 +0000 (11:58 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 27 Jan 2012 19:58:56 +0000 (11:58 -0800) | ||
commit | 58ebd9865d2bb9d42842fbac5a1c4eae49e92859 | |
tree | d693407408e24780c12c97d9e7e08443c966bed7 | tree | snapshot |
parent | d47553665833935157292a71248278a40e32c320 | commit | diff |
vcs-svn/svndiff.c: squelch false "unused" warning from gcc
Curiously, pre_len given to read_length() does not trigger the same warning
even though the code structure is the same. Most likely this is because
read_offset() is used only once and inlining it will make gcc realize that
it has a chance to do more flow analysis. Alas, the analysis is flawed, so
it does not help X-<.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Curiously, pre_len given to read_length() does not trigger the same warning
even though the code structure is the same. Most likely this is because
read_offset() is used only once and inlining it will make gcc realize that
it has a chance to do more flow analysis. Alas, the analysis is flawed, so
it does not help X-<.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
vcs-svn/svndiff.c | diff | blob | history |