Nikolay Sivov : combase: Remove dead assignment (Coverity).
Alexandre Julliard
julliard at winehq.org
Wed Sep 30 14:35:30 CDT 2020
Module: wine
Branch: master
Commit: 4b8756e0b4530530333670a42e5e9995ae6b3fc2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4b8756e0b4530530333670a42e5e9995ae6b3fc2
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Sep 30 13:51:19 2020 +0300
combase: Remove dead assignment (Coverity).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/combase/hglobalstream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/combase/hglobalstream.c b/dlls/combase/hglobalstream.c
index 5cbb280fd5..d957fae2c7 100644
--- a/dlls/combase/hglobalstream.c
+++ b/dlls/combase/hglobalstream.c
@@ -299,7 +299,7 @@ static HRESULT WINAPI stream_CopyTo(IStream *iface, IStream *dest, ULARGE_INTEGE
while (cb.QuadPart > 0)
{
- ULONG chunk_size = chunk_size = cb.QuadPart >= sizeof(buffer) ? sizeof(buffer) : cb.u.LowPart;
+ ULONG chunk_size = cb.QuadPart >= sizeof(buffer) ? sizeof(buffer) : cb.u.LowPart;
ULONG chunk_read, chunk_written;
hr = IStream_Read(iface, buffer, chunk_size, &chunk_read);
More information about the wine-cvs
mailing list