Kaydet (Commit) 432212fd authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS sb59 (1.3.488); FILE MERGED

2006/08/28 12:57:58 sb 1.3.488.1: #i67487# Made code warning-free (wntmsci10).
üst bff8fce7
......@@ -4,9 +4,9 @@
*
* $RCSfile: eventhandler.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-17 05:39:30 $
* last change: $Author: obo $ $Date: 2006-10-12 13:04:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -123,10 +123,11 @@ namespace sdr
// Trigger and consume the events
void EventHandler::ExecuteEvents()
{
BaseEvent* pEvent;
while(pEvent = GetEvent())
for(;;)
{
BaseEvent* pEvent = GetEvent();
if(pEvent == NULL)
break;
pEvent->ExecuteEvent();
delete pEvent;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment