=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Remove dead increments (clang ).
Alexandre Julliard
julliard at winehq.org
Fri Sep 9 10:56:48 CDT 2011
Module: wine
Branch: master
Commit: c20813f15f8e92443a8f15b97c061e7bb9cafd8e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c20813f15f8e92443a8f15b97c061e7bb9cafd8e
Author: André Hentschel <nerv at dawncrow.de>
Date: Fri Sep 9 17:19:29 2011 +0200
ntdll: Remove dead increments (clang).
---
dlls/ntdll/actctx.c | 1 -
dlls/ntdll/path.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index 75c1cbf..380ce8f 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -2617,7 +2617,6 @@ NTSTATUS WINAPI RtlQueryInformationActivationContext( ULONG flags, HANDLE handle
{
afdi->lpAssemblyDirectoryName = ptr;
memcpy(ptr, assembly->directory, ad_len * sizeof(WCHAR));
- ptr += ad_len;
}
else afdi->lpAssemblyDirectoryName = NULL;
RtlFreeHeap( GetProcessHeap(), 0, assembly_id );
diff --git a/dlls/ntdll/path.c b/dlls/ntdll/path.c
index 6138fa8..23f2bbd 100644
--- a/dlls/ntdll/path.c
+++ b/dlls/ntdll/path.c
@@ -751,7 +751,6 @@ static ULONG get_full_path_helper(LPCWSTR name, LPWSTR buffer, ULONG size)
memmove(buffer + reqsize / sizeof(WCHAR), name + dep, deplen + sizeof(WCHAR));
if (reqsize) memcpy(buffer, ins_str, reqsize);
- reqsize += deplen;
if (ins_str != tmp && ins_str != cd->Buffer)
RtlFreeHeap(GetProcessHeap(), 0, ins_str);
More information about the wine-cvs
mailing list