1
0
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:
Daniel Hwang 2015-09-21 21:06:42 -07:00 committed by Daniel Stenberg
parent 0583ed3e48
commit 1467dec147

View File

@ -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();
}