Merge pull request #2910 from jpark37/unlog-com-success

libobs: Remove log entry for CoInitializeEx pass
master
Joel Bethke 2020-05-11 16:54:50 -05:00 committed by GitHub
commit 0b6cc39510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -1264,9 +1264,7 @@ bool initialize_com(void)
{
const HRESULT hr = CoInitializeEx(0, COINIT_APARTMENTTHREADED);
const bool success = SUCCEEDED(hr);
if (success)
blog(LOG_INFO, "CoInitializeEx succeeded: 0x%08X", hr);
else
if (!success)
blog(LOG_ERROR, "CoInitializeEx failed: 0x%08X", hr);
return success;
}