Re: [PATCH] test-url-normalize.c: Fix gcc errors and sparse warnings

2013-07-24 Thread Junio C Hamano
"Kyle J. McKay" writes: > And hopefully Junio can add this as an incremental patch against next > as it looks good to me. Not likely to happen until the weekend. If I had time for such a clean-up, I would rather be doing the restructuring of the whole thing to make Peff's "git config --url $U

Re: [PATCH] test-url-normalize.c: Fix gcc errors and sparse warnings

2013-07-24 Thread Kyle J. McKay
On Jul 24, 2013, at 12:07, Ramsay Jones wrote: Sparse issues an "non-ANSI function declaration of function 'main'" warning when NO_CURL is set. In order to suppress the warning, we simply add the function prototype. When NO_CURL and USE_CURL_MULTI are not defined, then gcc issues the following