address compiler warning

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10091 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-21 07:22:19 +00:00
parent dc9449db67
commit acd73dba51

View File

@ -544,7 +544,8 @@ BMailChainRunner::Stop(bool kill)
BMessageQueue *looper_queue = MessageQueue();
looper_queue->Lock();
BMessage *msg;
while (msg = looper_queue->NextMessage()) delete msg; //-- Ensure STOP makes the front of the queue
while ((msg = looper_queue->NextMessage()))
delete msg; //-- Ensure STOP makes the front of the queue
PostMessage(B_QUIT_REQUESTED);
looper_queue->Unlock();