usbengines/usbotgwatcher/src/cusbotgwatcher.cpp
branchRCL_3
changeset 80 e02eb84a14d2
parent 79 25fce757be94
child 83 60826dff342d
--- a/usbengines/usbotgwatcher/src/cusbotgwatcher.cpp	Tue Aug 31 16:13:57 2010 +0300
+++ b/usbengines/usbotgwatcher/src/cusbotgwatcher.cpp	Wed Sep 01 12:20:49 2010 +0100
@@ -37,10 +37,8 @@
 #include "errors.h"
 #include "debug.h"
 #include "panic.h"
-#ifndef STIF
 _LIT_SECURITY_POLICY_PASS( KAlwaysPassPolicy );
 _LIT_SECURITY_POLICY_C1( KLocalServicesPolicy, ECapabilityLocalServices );
-#endif
 
 // ---------------------------------------------------------------------------
 // 
@@ -900,7 +898,7 @@
 
     iUsbServiceRequest = CUsbServiceControl::ERequestUndefined;
 
-    TUsbServiceState serviceState = EUsbServiceIdle;
+    TUsbServiceState serviceState;
     TInt err = iUsb.GetServiceState(serviceState);
 
     if (KErrNone != err)