diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-12 13:53:59 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-12 13:53:59 -0800 |
commit | 40e223c12d7b0199098408201f1b15e70a9918b7 (patch) | |
tree | 2372bb38c7c46c8dcd150693ffcc26bc8a5724ac /event.cpp | |
parent | b2c78dbd57a7c891aa176f1a571f36bd765e9ffb (diff) |
Additional miscellaneous fixes based on cppcheck static analysis
Diffstat (limited to 'event.cpp')
-rw-r--r-- | event.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -568,9 +568,6 @@ static void event_fire_internal(const event_t &event) */ static void event_fire_delayed() { - - size_t i; - /* If is_event is one, we are running the event-handler non-recursively. @@ -582,7 +579,7 @@ static void event_fire_delayed() { event_list_t new_blocked; - for (i=0; i<blocked.size(); i++) + for (size_t i=0; i<blocked.size(); i++) { event_t *e = blocked.at(i); if (event_is_blocked(*e)) |