Re: [PATCHv5 1/2] http.c: implement the GIT_TRACE_CURL environment variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 2, 2016, 19:15 UTC
- Message-ID
- <xmqqvb2ws23h.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160502142813.50868-2-gitter.spiros@gmail.com>
Elia Pinto <gitter.spiros@gmail.com> writes:
Show 6 quoted lines
> +int curl_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
> +{
> + const char *text;
> + (void)handle; /* prevent compiler unused parameter warning if checked */
> + (void)userp; /* prevent compiler unused parameter warning if checked */
> + int nopriv = 0; /*This decl-after-statment breaks our build.