Module: wine Branch: master Commit: 24dc347134b5a01c3748f3ff96736209d569782d URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=24dc347134b5a01c3748f3ff...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Tue Sep 12 23:37:14 2006 +0200
ole32: Silence a compiler warning about unused variable in StgStreamImpl_Write().
---
dlls/ole32/stg_stream.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/stg_stream.c b/dlls/ole32/stg_stream.c index ce9454f..32061a1 100644 --- a/dlls/ole32/stg_stream.c +++ b/dlls/ole32/stg_stream.c @@ -440,9 +440,12 @@ static HRESULT WINAPI StgStreamImpl_Writ 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.