23 Jan
2023
23 Jan
'23
1:42 a.m.
Jinoh Kang (@iamahuman) commented about dlls/windows.media.speech/recognizer.c:
return E_NOTIMPL; }
+static HRESULT session_stop_async( IInspectable *invoker ) +{ + return S_OK; +} + static HRESULT WINAPI session_StopAsync( ISpeechContinuousRecognitionSession *iface, IAsyncAction **action ) { - FIXME("iface %p, action %p stub!\n", iface, action); - return E_NOTIMPL; + struct session *impl = impl_from_ISpeechContinuousRecognitionSession(iface); + HRESULT hr = S_OK;
Assignment `hr = S_OK` is never used; always overwritten by `hr = async_action_create(NULL, session_stop_async, action);`. ```suggestion:-0+0 HRESULT hr; ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1948#note_21371