misc/events.c: Fix a warning.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 13:42:34 +0000 (13:42 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 13:42:34 +0000 (13:42 +0000)
src/misc/events.c

index 67ffb3f..6bbf01a 100644 (file)
@@ -167,7 +167,7 @@ int vlc_event_manager_register_event_type(
 void vlc_event_send( vlc_event_manager_t * p_em,
                      vlc_event_t * p_event )
 {
-    vlc_event_listeners_group_t * listeners_group;
+    vlc_event_listeners_group_t * listeners_group = NULL;
     vlc_event_listener_t * listener;
     vlc_event_listener_t * array_of_cached_listeners = NULL;
     vlc_event_listener_t * cached_listener;