cec: fix win32 build
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.cpp
index 1186d5674a3c02a27b43460c2356431b8c19b123..d0c87d69fa8382a1f026a23579667192d9418e92 100644 (file)
@@ -138,7 +138,6 @@ void CSLCommandHandler::HandleVendorCommandPowerOn(const cec_command &command)
 
 void CSLCommandHandler::HandleVendorCommandSLConnect(const cec_command &command)
 {
-  CCECBusDevice *primary = m_processor->GetPrimaryDevice();
   m_bSLEnabled = true;
   m_processor->m_busDevices[command.initiator]->SetActiveSource();
   m_processor->m_busDevices[command.destination]->TransmitActiveSource();