Bernhard Kölbl : windows.media.speech/tests: Remove a useless thread id trace.

Alexandre Julliard julliard at winehq.org
Tue Jun 14 15:56:51 CDT 2022


Module: wine
Branch: master
Commit: d95681aaf5b540c7a24c916d72de69cb84e17808
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d95681aaf5b540c7a24c916d72de69cb84e17808

Author: Bernhard Kölbl <besentv at gmail.com>
Date:   Thu Jun  9 17:13:40 2022 +0200

windows.media.speech/tests: Remove a useless thread id trace.

Signed-off-by: Bernhard Kölbl <besentv at gmail.com>

---

 dlls/windows.media.speech/tests/speech.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dlls/windows.media.speech/tests/speech.c b/dlls/windows.media.speech/tests/speech.c
index 5e74b90bf9a..421819fd10a 100644
--- a/dlls/windows.media.speech/tests/speech.c
+++ b/dlls/windows.media.speech/tests/speech.c
@@ -331,7 +331,6 @@ struct async_inspectable_handler
 
     HANDLE event_block;
     HANDLE event_finished;
-    DWORD thread_id;
 };
 
 static inline struct async_inspectable_handler *impl_from_IAsyncOperationCompletedHandler_IInspectable( IAsyncOperationCompletedHandler_IInspectable *iface )
@@ -378,9 +377,8 @@ HRESULT WINAPI async_inspectable_handler_Invoke( IAsyncOperationCompletedHandler
                                                  AsyncStatus status )
 {
     struct async_inspectable_handler *impl = impl_from_IAsyncOperationCompletedHandler_IInspectable(iface);
-    DWORD id = GetCurrentThreadId();
+
     trace("Iface %p, sender %p, status %d.\n", iface, sender, status);
-    trace("Caller thread id %lu callback thread id %lu.\n", impl->thread_id, id);
 
     /* Signal finishing of the handler. */
     if (impl->event_finished) SetEvent(impl->event_finished);
@@ -1217,7 +1215,6 @@ static void test_SpeechRecognizer(void)
         async_inspectable_handler_create_static(&compilation_handler, &IID_IAsyncOperationCompletedHandler_SpeechRecognitionCompilationResult);
         compilation_handler.event_block = CreateEventW(NULL, FALSE, FALSE, NULL);
         compilation_handler.event_finished = CreateEventW(NULL, FALSE, FALSE, NULL);
-        compilation_handler.thread_id = GetCurrentThreadId();
 
         ok(!!compilation_handler.event_block, "event_block wasn't created.\n");
         ok(!!compilation_handler.event_finished, "event_finished wasn't created.\n");




More information about the wine-cvs mailing list