Nikolay Sivov : combase: Remove dead assignment (Coverity).
Module: wine Branch: master Commit: 4b8756e0b4530530333670a42e5e9995ae6b3fc2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=4b8756e0b4530530333670a42... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Wed Sep 30 13:51:19 2020 +0300 combase: Remove dead assignment (Coverity). Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard