diff -r 5b2a402e96ac -r 25fce757be94 usbengines/usbotgwatcher/src/cusbotgwatcher.cpp --- a/usbengines/usbotgwatcher/src/cusbotgwatcher.cpp Thu Aug 19 10:54:11 2010 +0300 +++ b/usbengines/usbotgwatcher/src/cusbotgwatcher.cpp Tue Aug 31 16:13:57 2010 +0300 @@ -37,8 +37,10 @@ #include "errors.h" #include "debug.h" #include "panic.h" +#ifndef STIF _LIT_SECURITY_POLICY_PASS( KAlwaysPassPolicy ); _LIT_SECURITY_POLICY_C1( KLocalServicesPolicy, ECapabilityLocalServices ); +#endif // --------------------------------------------------------------------------- // @@ -898,7 +900,7 @@ iUsbServiceRequest = CUsbServiceControl::ERequestUndefined; - TUsbServiceState serviceState; + TUsbServiceState serviceState = EUsbServiceIdle; TInt err = iUsb.GetServiceState(serviceState); if (KErrNone != err)