kernel32: Remove a useless Error Message

André Hentschel nerv at
Tue Feb 15 12:49:10 CST 2011

This ERR is from 2001, where it reported the case if a WaitForSingleObject timed out.
Now it seems useless (and it's not very informative).

I got that case after a horrible crash of a console application, but the code seems to behave fine here.

 dlls/kernel32/editline.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c
index a39fa8d..7664b55 100644
--- a/dlls/kernel32/editline.c
+++ b/dlls/kernel32/editline.c
@@ -97,7 +97,6 @@ static void WCEL_Dump(WCEL_Context* ctx, const char* pfx)
 static BOOL WCEL_Get(WCEL_Context* ctx, INPUT_RECORD* ir)
     if (ReadConsoleInputW(ctx->hConIn, ir, 1, NULL)) return TRUE;
-    ERR("hmm bad situation\n");
     ctx->error = 1;
     return FALSE;

Best Regards, André Hentschel

More information about the wine-patches mailing list