cec: fixed compilation warning on win32 (possibly uninitialised var)
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 17 Feb 2012 14:36:18 +0000 (15:36 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 17 Feb 2012 14:36:18 +0000 (15:36 +0100)
src/lib/adapter/USBCECAdapterCommunication.cpp

index 1b768539faeb21cd02d8c598ed2c7384f872e09a..2d8957b05e839004b6c7ce771d080448e9c478ef 100644 (file)
@@ -201,6 +201,7 @@ void *CUSBCECAdapterCommunication::Process(void)
   m_messageProcessor->CreateThread();
 
   cec_command command;
+  command.Clear();
   bool bCommandReceived(false);
   while (!IsStopped())
   {