diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-04 23:47:05 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-04 23:47:05 +0100 |
commit | dcaa1185506986142bccd990a5dca4c6ec1228cf (patch) | |
tree | b2a364a1dbf1d91ad8bad9aeab09e9dc9bb5ab58 /methods/ftp.cc | |
parent | b1803e01ec18a4946523f3c3d0cbff2f0347ff30 (diff) |
fix a bunch of cppcheck "(warning) Member variable '<#>' is not
initialized in the constructor." messages (no functional change)
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r-- | methods/ftp.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index ad8a7b828..b1e8d2b0a 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -77,6 +77,7 @@ FTPConn::FTPConn(URI Srv) : Len(0), ServerFd(-1), DataFd(-1), { Debug = _config->FindB("Debug::Acquire::Ftp",false); PasvAddr = 0; + Buffer[0] = '\0'; } /*}}}*/ // FTPConn::~FTPConn - Destructor /*{{{*/ |