Code

avoid "defined but not used" warning for fetch_objs_via_walker
authorJeff King <peff@peff.net>
Sun, 18 Nov 2007 08:17:23 +0000 (03:17 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2007 07:11:00 +0000 (23:11 -0800)
commitb9c506f7d9f05a630fa7e31b77a9cf5081d7dbba
treec5000e373f2a201915ea91dbba1cb8f2e91787eb
parent2ce1a1f23fd83d2cab22f87aff1165fb0c7ad450
avoid "defined but not used" warning for fetch_objs_via_walker

Because this function is static and used only by the
http-walker, when NO_CURL is defined, gcc emits a "defined
but not used" warning.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c