From a8e388dd1095d3ffa12fc75f2bec70f1f9b66c80 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 3 May 2017 14:28:40 +0200 Subject: curl: remove tool_writeenv.[ch] ... and USE_ENVIRONMENT and --environment. It was once added for RISC OS support and its platform specific behavior has been annoying ever since. Added in commit c3c8bbd3b2688da8e, mostly unchanged since then. Most probably not actually used for years. Closes #1463 --- src/tool_operate.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/tool_operate.c') diff --git a/src/tool_operate.c b/src/tool_operate.c index 5a129bd34..6f1525e8b 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -71,7 +71,6 @@ #include "tool_sleep.h" #include "tool_urlglob.h" #include "tool_util.h" -#include "tool_writeenv.h" #include "tool_writeout.h" #include "tool_xattr.h" #include "tool_vms.h" @@ -1748,9 +1747,6 @@ static CURLcode operate_do(struct GlobalConfig *global, if(config->writeout) ourWriteOut(curl, &outs, config->writeout); - if(config->writeenv) - ourWriteEnv(curl); - /* ** Code within this loop may jump directly here to label 'show_error' ** in order to display an error message for CURLcode stored in 'res' -- cgit v1.2.3