aboutsummaryrefslogtreecommitdiff
path: root/src/tool_setopt.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-03-16 19:06:34 +0100
committerYang Tse <yangsita@gmail.com>2012-03-16 19:06:34 +0100
commit8af4b657d0f44bd6f2b1d672666c046e53af0e0c (patch)
treee65809f4fb6fe2e4bde8449849025d39883efc83 /src/tool_setopt.c
parent97386c3c84251ca6a185916b28e61c100a901c1a (diff)
fix some compiler warnings
Diffstat (limited to 'src/tool_setopt.c')
-rw-r--r--src/tool_setopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_setopt.c b/src/tool_setopt.c
index 5be4c3b39..d9e200e5f 100644
--- a/src/tool_setopt.c
+++ b/src/tool_setopt.c
@@ -389,7 +389,7 @@ CURLcode tool_setopt(CURL *curl, bool str, struct Configurable *config,
{
va_list arg;
char buf[256];
- const char *value;
+ const char *value = NULL;
bool remark = FALSE;
bool skip = FALSE;
bool escape = FALSE;