diff options
author | Max Horn | 2010-11-18 16:08:56 +0000 |
---|---|---|
committer | Max Horn | 2010-11-18 16:08:56 +0000 |
commit | 4707b610fca45c0762e25994594fc58557945a02 (patch) | |
tree | 01437dc021de6452b231058d2bb7845c38534e42 /engines/agi/sound.h | |
parent | bac018a3aa1dea0282f5ba49f9eb2001737e8bee (diff) | |
download | scummvm-rg350-4707b610fca45c0762e25994594fc58557945a02.tar.gz scummvm-rg350-4707b610fca45c0762e25994594fc58557945a02.tar.bz2 scummvm-rg350-4707b610fca45c0762e25994594fc58557945a02.zip |
COMMON: Fix incorrect use of assert() macro
The assert() macro may be compiled to be empty. In that case, its
arguments are *NOT* evaluated. Hence, things like
assert(doSomething())
must not be used whenever doSomething() has important side effects.
Also document BufferedWriteStream::flushBuffer() and explain why it
exists parallel to BufferedWriteStream::flush().
svn-id: r54322
Diffstat (limited to 'engines/agi/sound.h')
0 files changed, 0 insertions, 0 deletions