]> granicus.if.org Git - libevent/commit
Add some assertions to please coverity.
authorNick Mathewson <nickm@torproject.org>
Tue, 6 Aug 2013 23:06:58 +0000 (19:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 6 Aug 2013 23:10:13 +0000 (19:10 -0400)
commit1b065d07df1968a8584ac4eafcb4c294b0251d53
tree9832cafa51eb86844a4ca87d6755197d88bc9d33
parent197abd8bf32767d346c4cde63cf56afb08e4f327
Add some assertions to please coverity.

In event_process_active_single_queue, EVLIST_INIT must be set on any
event that uses one of the event-only closures, and so "ev" will be
set in those cases.  But coverity's worried here (CIDs numerous).  So
instead, just add the assertions that should make it happy.
event.c