summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-11-08 16:43:01 +0000
committerYang Tse <yangsita@gmail.com>2007-11-08 16:43:01 +0000
commitb99a61c5b046d1a9b2c5f2e071233bb9c0458210 (patch)
tree9a85afd50f6a1352fd978e670e55cd209524676d /lib
parentc960cd41e84aa3d86cd0a5cd6c0d8b4ae6c96344 (diff)
downloadcurl-b99a61c5b046d1a9b2c5f2e071233bb9c0458210.tar.gz
Fix compiler warning: may be used uninitialized
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index ab9ddccc6..23755be74 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -370,7 +370,7 @@ static CURLcode ssh_getworkingpath(struct connectdata *conn,
real path to work with */
{
struct SessionHandle *data = conn->data;
- char *real_path;
+ char *real_path = NULL;
char *working_path;
int working_path_len;