1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

CURLMOPT_PUSHFUNCTION.3: Remove unused variable

This commit is contained in:
Tatsuhiro Tsujikawa 2015-06-06 18:06:15 +09:00 committed by Daniel Stenberg
parent c712aa0ebe
commit 77044b53f7

View File

@ -102,7 +102,6 @@ int push_callback(CURL *parent,
{ {
char *headp; char *headp;
int *transfers = (int *)userp; int *transfers = (int *)userp;
char filename[128];
FILE *out; FILE *out;
headp = curl_pushheader_byname(headers, ":path"); headp = curl_pushheader_byname(headers, ":path");
if(headp && !strncmp(headp, "/push-", 6)) { if(headp && !strncmp(headp, "/push-", 6)) {