cec: fixed compilation warning on win32 (possibly uninitialised var)
[deb_libcec.git] / 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())
   {