telephonyprotocols/pdplayer/src/pdptiermanager.cpp
changeset 37 2c74b432a438
parent 36 2e966480abb1
child 69 b982c3e940f3
--- a/telephonyprotocols/pdplayer/src/pdptiermanager.cpp	Thu May 13 20:08:44 2010 +0100
+++ b/telephonyprotocols/pdplayer/src/pdptiermanager.cpp	Thu May 13 20:13:31 2010 +0100
@@ -175,16 +175,11 @@
 	iContextMonitors.Remove(monitorIndex);
 	}
 
-void CPrimaryContextsMonitor::ProcessError(
-    #if (OST_TRACE_CATEGORY_DEBUG)
-        TInt aError
-    #else   //remove compilation warning in release builds
-        TInt /*aError*/
-    #endif
-        )
+void CPrimaryContextsMonitor::ProcessError(TInt aError)
 	{
 	__ASSERT_DEBUG(aError != KErrNone, User::Invariant());
 	OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPRIMARYCONTEXTSMONITOR_PROCESSERROR_1, ("PDP context monitoring error: %d"), aError);
+	(void)aError;  //needed for debug builds 
 	}
 
 void CPrimaryContextsMonitor::RunL()