Module: wine Branch: master Commit: ecbd2dd34b4239318162242caaa197ae4f0911f5 URL: https://source.winehq.org/git/wine.git/?a=commit;h=ecbd2dd34b4239318162242ca...
Author: Sven Baars sven.wine@gmail.com Date: Sun Aug 18 00:09:05 2019 +0200
setupapi: Fix an uninitialized variable warning (Valgrind).
Signed-off-by: Sven Baars sven.wine@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/setupapi/queue.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c index e049bbe..e9b48ed 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: