accessoryservices/accessorymonitor/tsrc/public/basic/accmonconnectionemulator/src/AccMonConnectionEmulator.cpp
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
--- a/accessoryservices/accessorymonitor/tsrc/public/basic/accmonconnectionemulator/src/AccMonConnectionEmulator.cpp	Thu Aug 19 11:09:10 2010 +0300
+++ b/accessoryservices/accessorymonitor/tsrc/public/basic/accmonconnectionemulator/src/AccMonConnectionEmulator.cpp	Tue Aug 31 16:29:05 2010 +0300
@@ -98,10 +98,10 @@
     TPckgBuf< TTFAccessoryPublishAndSubscribe > buf;
     
     // Reset the values and then order the connect
-    TTFASYReference method;
+    TTFASYReference method( ETFAsyNone );
     TInt64 param1( 0 );
     TBool wired( EFalse );
-    TUint64 btaddress;
+    TUint64 btaddress( 0 );
     RArray< TUint32 > capabilityArray;
     TUint8 deviceType;
     
@@ -192,7 +192,6 @@
         {
 #ifdef TEST_BT
         TBTDevAddr btaddr( btaddress );
-        TBool oldTest( EFalse );
         TRequestStatus status;
         RAccessoryServer server;
         server.Connect();
@@ -322,10 +321,10 @@
     TPckgBuf< TTFAccessoryPublishAndSubscribe > buf;
     
     // Reset the values and then order the connect
-    TTFASYReference method;
+    TTFASYReference method( ETFAsyNone );
     TInt64 param1( 0 );
     TBool wired( EFalse );
-    TUint64 btaddress;
+    TUint64 btaddress( 0 );
     RArray< TUint32 > capabilityArray;
     
     switch( aAccDefintion )
@@ -444,13 +443,11 @@
     
     if( aAccInfo->AccPhysicalConnection() == KAccMonWired )
         {
-        TInt err( KErrNone );
         TPckgBuf< TTFAccessoryPublishAndSubscribe > buf;
         
         // Reset the values and then order the connect
         TTFASYReference method;
         TInt64 param1( 0 );
-        TBool wired( EFalse );
         RArray< TUint32 > capabilityArray;
         
         method = ETFAsyDisc;
@@ -516,4 +513,5 @@
     return retval;
     }
   
-// End of file
\ No newline at end of file
+// End of file
+