ole32: Silence a compiler warning about unused variable in StgStreamImpl_Write().

This commit is contained in:
Gerald Pfeifer 2006-09-12 23:37:14 +02:00 committed by Alexandre Julliard
parent fc4cd637d9
commit 24dc347134
1 changed files with 3 additions and 0 deletions

View File

@ -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.