Attempt to make CI happy

This commit is contained in:
orbitcowboy 2021-04-13 14:44:59 +02:00
parent 040e58f943
commit 44c8b315c6
1 changed files with 3 additions and 2 deletions

View File

@ -31,10 +31,11 @@
#ifdef __VISUALC__ #ifdef __VISUALC__
// Ensure no duplicateBreak warning is issued after wxLogApiError() calls. // Ensure no duplicateBreak warning is issued after wxLogApiError() calls.
// This function does not terminate execution. // This function does not terminate execution.
bool duplicateBreak_wxLogApiError(const wxString &msg, const HRESULT &hr) bool duplicateBreak_wxLogApiError(const wxString &msg, const HRESULT &hr, wxString &str)
{ {
if (FAILED(hr)) { if (hr) {
wxLogApiError(msg,hr); wxLogApiError(msg,hr);
str = "fail";
return false; return false;
} }
return true; return true;