author | Peter Hagervall <hager@cs.umu.se> | |
Sun, 16 Oct 2005 07:01:08 +0000 (00:01 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 16 Oct 2005 07:01:08 +0000 (00:01 -0700) | ||
commit | f5dce80611ed865d2d5d1e76c2c3ae64bf99fe99 | |
tree | efa2b9afc439ccb1900b33f73e18e4864488b5d9 | tree | snapshot |
parent | f6b42a81fd97a55dec0766685aac722a838a11a6 | commit | diff |
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>
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 | diff | blob | history |