From 24dc347134b5a01c3748f3ff96736209d569782d Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 12 Sep 2006 23:37:14 +0200 Subject: [PATCH] ole32: Silence a compiler warning about unused variable in StgStreamImpl_Write(). --- dlls/ole32/stg_stream.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/ole32/stg_stream.c b/dlls/ole32/stg_stream.c index ce9454fcf4..32061a1661 100644 --- a/dlls/ole32/stg_stream.c +++ b/dlls/ole32/stg_stream.c @@ -440,9 +440,12 @@ static HRESULT WINAPI StgStreamImpl_Write( pcbWritten); } else + { /* this should never happen because the IStream_SetSize call above will * make sure a big or small block chain is created */ assert(FALSE); + res = 0; + } /* * Advance the position pointer for the number of positions written. -- 2.32.0.93.g670b81a890