Sparse fixes for http-fetch
commitf5dce80611ed865d2d5d1e76c2c3ae64bf99fe99
authorPeter Hagervall <hager@cs.umu.se>
Sun, 16 Oct 2005 07:01:08 +0000 (16 00:01 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 16 Oct 2005 07:01:08 +0000 (16 00:01 -0700)
treeefa2b9afc439ccb1900b33f73e18e4864488b5d9
parentf6b42a81fd97a55dec0766685aac722a838a11a6
Sparse fixes for http-fetch

This patch cleans out all sparse warnings from http-fetch.c

I'm a bit uncomfortable with adding extra #ifdefs to avoid either
'mixing declaration with code' or 'unused variable' warnings, but I
figured that since those functions are already littered with #ifdefs I
might just get away with it. Comments?

[jc: I adjusted Peter's patch to address uncomfortableness issues.]

Signed-off-by: Peter Hagervall <hager@cs.umu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c