=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: setupapi: Remove dead code (Clang).

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 24 14:40:05 CST 2015


Module: wine
Branch: master
Commit: 9edfb14c6be13f599aafe5e300986f10e6fb999d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9edfb14c6be13f599aafe5e300986f10e6fb999d

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Dec 22 19:29:18 2015 +0100

setupapi: Remove dead code (Clang).

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/setupapi/queue.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c
index d57f8e1..d2e2a1d 100644
--- a/dlls/setupapi/queue.c
+++ b/dlls/setupapi/queue.c
@@ -126,11 +126,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 );
-    }
 }
 
 




More information about the wine-cvs mailing list