[PATCH] combase: Remove dead assignment (Coverity).
Nikolay Sivov
nsivov at codeweavers.com
Wed Sep 30 05:51:19 CDT 2020
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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 5cbb280fd5e..d957fae2c7d 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);
--
2.28.0
More information about the wine-devel
mailing list