[PATCH 3/3] setupapi: Fix an uninitialized variable warning (Valgrind).
Sven Baars
sven.wine at gmail.com
Sat Aug 17 17:09:05 CDT 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/setupapi/queue.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c
index e049bbe209..e9b48ed1c2 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:
--
2.17.1
More information about the wine-devel
mailing list