mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
tool: remove redundant libcurl check
The easysrc generation is run only when --libcurl is initialized. Ref: https://github.com/bagder/curl/issues/429 Closes #448
This commit is contained in:
parent
0583ed3e48
commit
1467dec147
@ -172,7 +172,6 @@ void dumpeasysrc(struct GlobalConfig *config)
|
||||
struct curl_slist *ptr;
|
||||
char *o = config->libcurl;
|
||||
|
||||
if(o) {
|
||||
FILE *out;
|
||||
bool fopened = FALSE;
|
||||
if(strcmp(o, "-")) {
|
||||
@ -221,7 +220,6 @@ void dumpeasysrc(struct GlobalConfig *config)
|
||||
if(fopened)
|
||||
fclose(out);
|
||||
}
|
||||
}
|
||||
|
||||
easysrc_free();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user