From cd73072e509846b925628c66a87b48effd2e047e Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sun, 4 Sep 2016 08:17:41 +0000 Subject: [PATCH] =?UTF-8?q?[SETUPAPI]=20Remove=20dead=20code.=20wine=20pat?= =?UTF-8?q?ch=20by=20Andr=C3=A9=20Hentschel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=72565 --- reactos/dll/win32/setupapi/queue.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/dll/win32/setupapi/queue.c b/reactos/dll/win32/setupapi/queue.c index 684886870e0..9d1e5b21a5c 100644 --- a/reactos/dll/win32/setupapi/queue.c +++ b/reactos/dll/win32/setupapi/queue.c @@ -136,11 +136,9 @@ static void concat_W( WCHAR *buffer, const WCHAR *src1, const WCHAR *src2, const if (buffer[-1] != '\\') *buffer++ = '\\'; if (src3) while (*src3 == '\\') src3++; } + if (src3) - { strcpyW( buffer, src3 ); - buffer += strlenW(buffer ); - } }