Commit 1467dec1 authored by Daniel Hwang's avatar Daniel Hwang Committed by Daniel Stenberg
Browse files

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
parent 0583ed3e
Loading
Loading
Loading
Loading
+39 −41
Original line number Diff line number Diff line
@@ -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();
}