Merge pull request #3326 from rmstyrczula/master
DefaultIOStream: Remove assert on empty countpull/3327/head^2
commit
1975579268
|
@ -100,7 +100,6 @@ size_t DefaultIOStream::Write(const void *pvBuffer,
|
||||||
size_t pCount) {
|
size_t pCount) {
|
||||||
ai_assert(nullptr != pvBuffer);
|
ai_assert(nullptr != pvBuffer);
|
||||||
ai_assert(0 != pSize);
|
ai_assert(0 != pSize);
|
||||||
ai_assert(0 != pCount);
|
|
||||||
|
|
||||||
return (mFile ? ::fwrite(pvBuffer, pSize, pCount, mFile) : 0);
|
return (mFile ? ::fwrite(pvBuffer, pSize, pCount, mFile) : 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue