diff -r 866b4af7ffbe -r 4dc88a4ac6f4 mtptransports/mtpptpiptransport/ptpipplugin/src/cptpipconnection.cpp --- a/mtptransports/mtpptpiptransport/ptpipplugin/src/cptpipconnection.cpp Tue Sep 28 20:14:08 2010 +0800 +++ b/mtptransports/mtpptpiptransport/ptpipplugin/src/cptpipconnection.cpp Fri Oct 15 15:05:57 2010 +0800 @@ -288,13 +288,16 @@ /** Called when an error occurs in the RunL */ +#ifdef OST_TRACE_COMPILER_IN_USE TInt CPTPIPConnection::RunError(TInt aError ) +#else +TInt CPTPIPConnection::RunError(TInt /*aError*/ ) +#endif { OstTraceFunctionEntry0( CPTPIPCONNECTION_RUNERROR_ENTRY ); OstTrace1( TRACE_NORMAL, CPTPIPCONNECTION_RUNERROR, "PTPIP ERROR: Error received is %d", aError ); - // Cancel all the outstanding requests. Cancel( ); @@ -1389,7 +1392,11 @@ /** * Invoked by the SocketHandler when there is an error. */ +#ifdef OST_TRACE_COMPILER_IN_USE void CPTPIPConnection::HandleError(TInt aError) +#else +void CPTPIPConnection::HandleError(TInt /*aError*/) +#endif { OstTraceFunctionEntry0( CPTPIPCONNECTION_HANDLEERROR_ENTRY ); OstTrace1( TRACE_NORMAL, CPTPIPCONNECTION_HANDLEERROR, "SocketHandler received an error=%d, stopping connection.", aError );