From: Lars Op den Kamp Date: Fri, 17 Feb 2012 14:36:18 +0000 (+0100) Subject: cec: fixed compilation warning on win32 (possibly uninitialised var) X-Git-Tag: upstream/2.2.0~1^2~35^2~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=32553784639691c77c172bb68527e458f987c770;p=deb_libcec.git cec: fixed compilation warning on win32 (possibly uninitialised var) --- diff --git a/src/lib/adapter/USBCECAdapterCommunication.cpp b/src/lib/adapter/USBCECAdapterCommunication.cpp index 1b76853..2d8957b 100644 --- a/src/lib/adapter/USBCECAdapterCommunication.cpp +++ b/src/lib/adapter/USBCECAdapterCommunication.cpp @@ -201,6 +201,7 @@ void *CUSBCECAdapterCommunication::Process(void) m_messageProcessor->CreateThread(); cec_command command; + command.Clear(); bool bCommandReceived(false); while (!IsStopped()) {