summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-03-28 16:46:26 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-03-28 16:46:26 -0400
commit67a762928ed33470e7423fd01e1860e9c61dedd7 (patch)
tree79cdb41d3fb650f49fe44fd3d9bb4518d5547488 /src
parentab86007df42fbd1783e93f5dcdf0f2ac56611ffa (diff)
downloadgnurl-67a762928ed33470e7423fd01e1860e9c61dedd7.tar.gz
gnurl-67a762928ed33470e7423fd01e1860e9c61dedd7.tar.bz2
gnurl-67a762928ed33470e7423fd01e1860e9c61dedd7.zip
tool_operate: remove mixed declaration
This is a follow up to the previous commit.
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index e8df7ffbb..cefd6ccbf 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -204,6 +204,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
CURLcode result = CURLE_OK;
unsigned long li;
+ bool capath_from_env;
/* Save the values of noprogress and isatty to restore them later on */
bool orig_noprogress = global->noprogress;
@@ -239,7 +240,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
* We support the environment variable thing for non-Windows platforms
* too. Just for the sake of it.
*/
- bool capath_from_env = false;
+ capath_from_env = false;
if(!config->cacert &&
!config->capath &&
!config->insecure_ok) {