win32: sync project files and fixed compilation warnings.
[deb_libcec.git] / src / lib / LibCEC.cpp
index a204a4bc1a4f7cb0d9c40bf8a8950f70adf72000..1646041da0dd9759ee91f22674a587611d877d87 100644 (file)
@@ -338,6 +338,9 @@ bool CLibCEC::SendKeyRelease(cec_logical_address iDestination, bool bWait /* = t
 cec_osd_name CLibCEC::GetDeviceOSDName(cec_logical_address iAddress)
 {
   cec_osd_name retVal;
+  retVal.device = CECDEVICE_UNKNOWN;
+  memset(retVal.name, 0, 14);
+
   if (m_client)
     retVal = m_client->GetDeviceOSDName(iAddress);
   return retVal;