cec: fixed typo in CUSBCECAdapterCommunication::Read()
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 6 Feb 2012 14:36:55 +0000 (15:36 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 6 Feb 2012 14:36:55 +0000 (15:36 +0100)
src/lib/adapter/USBCECAdapterCommunication.cpp

index 01bf303b45f9a65b16601dd9be9f03aa3b46775c..1d9f562fd5198b295d990cf327735c5b4cbd4732 100644 (file)
@@ -291,7 +291,7 @@ bool CUSBCECAdapterCommunication::Read(CCECAdapterMessage &msg, uint32_t iTimeou
   if (buf)
   {
     msg.packet = buf->packet;
-    msg.state = msg.state = ADAPTER_MESSAGE_STATE_INCOMING;
+    msg.state = ADAPTER_MESSAGE_STATE_INCOMING;
     delete buf;
     return true;
   }