Commit 123471d3 authored by David Reid's avatar David Reid

Fix a warning with the UWP build.

parent 327af170
......@@ -3030,6 +3030,7 @@ static mal_result mal_device_init__wasapi(mal_context* pContext, mal_device_type
}
#else
IActivateAudioInterfaceAsyncOperation *pAsyncOp = NULL;
malCompletionHandler completionHandler;
IID iid;
if (pDeviceID != NULL) {
......@@ -3049,7 +3050,6 @@ static mal_result mal_device_init__wasapi(mal_context* pContext, mal_device_type
goto done;
}
malCompletionHandler completionHandler;
result = completionHandler.Init();
if (result != MAL_SUCCESS) {
mal_CoTaskMemFree(pContext, iidStr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment