address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10091 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
dc9449db67
commit
acd73dba51
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user