--- a/mtptransports/mtpptpiptransport/ptpipplugin/src/cptpipconnection.cpp Tue Sep 28 20:14:08 2010 +0800
+++ b/mtptransports/mtpptpiptransport/ptpipplugin/src/cptpipconnection.cpp Thu Nov 04 15:31:42 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 );