author | Jim Meyering <jim@meyering.net> | |
Fri, 29 Apr 2011 09:42:41 +0000 (11:42 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 29 Apr 2011 15:20:10 +0000 (08:20 -0700) | ||
commit | dabdbee10bd6c7d92204ce4bfc1f3ffd60a4046a | |
tree | 987fdd987ac914eb4758b879d9661abd47367a8b | tree | snapshot |
parent | 50d3062ab2cea4e999b8f3bafd211ff348bca600 | commit | diff |
diffcore-rename.c: avoid set-but-not-used warning
Since 9d8a5a5 (diffcore-rename: refactor "too many candidates" logic,
2011-01-06), diffcore_rename() initializes num_src but does not use it
anymore. "-Wunused-but-set-variable" in gcc-4.6 complains about this.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Since 9d8a5a5 (diffcore-rename: refactor "too many candidates" logic,
2011-01-06), diffcore_rename() initializes num_src but does not use it
anymore. "-Wunused-but-set-variable" in gcc-4.6 complains about this.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c | diff | blob | history |