From: Christos Tsantilas Date: Fri, 11 Nov 2016 16:26:54 +0000 (+0200) Subject: Fix 'ftpSendEPRT defined but not used' compile error after patch r14936 X-Git-Tag: M-staged-PR71~379 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b53eb6bf064b6ee47cc49c1a4e825c3305d64f3;p=thirdparty%2Fsquid.git Fix 'ftpSendEPRT defined but not used' compile error after patch r14936 --- diff --git a/src/clients/FtpGateway.cc b/src/clients/FtpGateway.cc index b843cd3d0f..1654ca6a9e 100644 --- a/src/clients/FtpGateway.cc +++ b/src/clients/FtpGateway.cc @@ -209,7 +209,9 @@ static FTPSM ftpSendMdtm; static FTPSM ftpReadMdtm; static FTPSM ftpSendSize; static FTPSM ftpReadSize; +#if 0 static FTPSM ftpSendEPRT; +#endif static FTPSM ftpReadEPRT; static FTPSM ftpSendPORT; static FTPSM ftpReadPORT; @@ -1862,6 +1864,7 @@ ftpReadPORT(Ftp::Gateway * ftpState) ftpRestOrList(ftpState); } +#if 0 static void ftpSendEPRT(Ftp::Gateway * ftpState) { @@ -1904,6 +1907,7 @@ ftpSendEPRT(Ftp::Gateway * ftpState) ftpState->writeCommand(cbuf); ftpState->state = Ftp::Client::SENT_EPRT; } +#endif static void ftpReadEPRT(Ftp::Gateway * ftpState)