address compiler warning

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10083 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty
2004-11-21 05:52:18 +00:00
parent ea93578e72
commit a27166de67
+4 -1
View File
@@ -211,7 +211,10 @@ TAnalogClock::Draw(BRect updaterect)
ASSERT(f_offscreen); ASSERT(f_offscreen);
ASSERT(f_bitmap); ASSERT(f_bitmap);
SetHighColor(0, 100, 10); SetHighColor(0, 100, 10);
bool b = f_bitmap->Lock(); #ifdef DEBUG
bool b =
#endif
f_bitmap->Lock();
ASSERT(b); ASSERT(b);
f_offscreen->DrawX(); f_offscreen->DrawX();
DrawBitmap(f_bitmap, f_drawpt); DrawBitmap(f_bitmap, f_drawpt);