com php-src: Remove undefined variable if ext/ftp was built with SSL: ext/ftp/ftp.c
| From: | Kalle Sommer Nielsen | Date: | Sun, 20 Nov 2016 18:37:24 +0000 |
| Subject: | com php-src: Remove undefined variable if ext/ftp was built with SSL: ext/ftp/ftp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95924@lists.php.net to get a copy of this message | ||
Commit: 53ca6fdaa4f37bf06ec563a07b6eaf7dabc13769
Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 20 Nov 2016 19:37:24 +0100
Parents: d489569725068ad7f0e4052f826134fb5ac40d08
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=53ca6fdaa4f37bf06ec563a07b6eaf7dabc13769
Log:
Remove undefined variable if ext/ftp was built with SSL
Changed paths:
M ext/ftp/ftp.c
Diff:
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index 0e0bfd6..fccfa75 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -1735,9 +1735,6 @@ data_accepted:
databuf_t*
data_close(ftpbuf_t *ftp, databuf_t *data)
{
-#ifdef HAVE_FTP_SSL
- SSL_CTX *ctx;
-#endif
if (data == NULL) {
return NULL;
}