[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/core/tiles
From: Dirk Mueller <mueller () kde ! org>
Date: 2006-01-24 7:41:06
Message-ID: 1138088466.585394.32536.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 501882 by mueller:
silence compiler warnings
M +3 -6 kis_tile.cc
--- trunk/koffice/krita/core/tiles/kis_tile.cc #501881:501882
@@ -93,16 +93,13 @@
KisTileManager::instance() -> dontNeedTileData(m_data, m_pixelSize);
m_data = 0;
}
- if (readers()) { kdDebug(41000) << "argh, still " << readers() << endl; m_nReadlock /= 0; }
+ assert( !readers() );
}
void KisTile::allocate()
{
if (m_data == 0) {
- if (readers()) {
- kdDebug(41000) << "arghll, still " << readers() << endl;
- m_nReadlock /= 0;
- }
+ assert (!readers());
m_data = KisTileManager::instance() -> requestTileData(m_pixelSize);
Q_CHECK_PTR(m_data);
}
@@ -143,7 +140,7 @@
KisTileManager::instance() -> ensureTileLoaded(this);
else if (m_nReadlock < 0) {
kdDebug(41000) << m_nReadlock << endl;
- m_nReadlock /= 0;
+ assert(0);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic