From ecbd2dd34b4239318162242caaa197ae4f0911f5 Mon Sep 17 00:00:00 2001 From: Sven Baars Date: Sun, 18 Aug 2019 00:09:05 +0200 Subject: [PATCH] setupapi: Fix an uninitialized variable warning (Valgrind). Signed-off-by: Sven Baars Signed-off-by: Alexandre Julliard --- dlls/setupapi/queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c index e049bbe209a..e9b48ed1c2e 100644 --- a/dlls/setupapi/queue.c +++ b/dlls/setupapi/queue.c @@ -196,6 +196,7 @@ UINT CALLBACK QUEUE_callback_WtoA( void *context, UINT notification, switch(notification) { case SPFILENOTIFY_COPYERROR: + buffer[0] = 0; param2 = (UINT_PTR)buffer; /* fall through */ case SPFILENOTIFY_STARTDELETE: