Code

diffcore-rename.c: avoid set-but-not-used warning
authorJim Meyering <jim@meyering.net>
Fri, 29 Apr 2011 09:42:41 +0000 (11:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2011 20:54:17 +0000 (13:54 -0700)
commit6051561a6cc8d715ce6243c26712448f6e32fe4e
treeb4277c081651b99c625678278c7e06c2500e54ce
parent2b0b64ee850e72b9a88c821c418b1620fccf2092
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>
diffcore-rename.c