Browse Source

libobs: Remove log entry for CoInitializeEx pass

Remove entry from the top of the log. Always returns S_FALSE, and that's
unlikely to change.
jpark37 5 years ago
parent
commit
0a700dbc2a
1 changed files with 1 additions and 3 deletions
  1. 1 3
      libobs/obs-windows.c

+ 1 - 3
libobs/obs-windows.c

@@ -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;
 }