Addendum to previous GHOST commit: remove redundant check.
authorKévin Dietrich <kevin.dietrich@mailoo.org>
Sun, 27 Dec 2015 20:32:19 +0000 (21:32 +0100)
committerKévin Dietrich <kevin.dietrich@mailoo.org>
Sun, 27 Dec 2015 20:32:19 +0000 (21:32 +0100)
intern/ghost/intern/GHOST_EventManager.cpp

index 44b57d11a9fc0eb22d1cb42d61d0cf190d045fca..bef4b0e02cac67254974434cfefbb22f760f52d8 100644 (file)
@@ -116,10 +116,6 @@ void GHOST_EventManager::dispatchEvent()
 
 void GHOST_EventManager::dispatchEvents()
 {
-       if (m_events.empty()) {
-               return;
-       }
-
        while (!m_events.empty()) {
                dispatchEvent();
        }