]> granicus.if.org Git - curl/commitdiff
Fix compiler warning: may be used uninitialized
authorYang Tse <yangsita@gmail.com>
Thu, 8 Nov 2007 16:43:01 +0000 (16:43 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 8 Nov 2007 16:43:01 +0000 (16:43 +0000)
lib/ssh.c

index ab9ddccc6e257ac473992d321c2d4d80b1198734..23755be741301a16005b145259e5ab73bc6dc2da 100644 (file)
--- 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;