[vlc-devel] commit: podcast: missing initialization (Jakob Leben )

git version control git at videolan.org
Mon Nov 2 16:39:15 CET 2009


vlc | branch: master | Jakob Leben <jleben at videolan.org> | Mon Nov  2 16:37:25 2009 +0100| [f2c0462d85ea8a7a69d749e295b902e95dedff00] | committer: Jakob Leben 

podcast: missing initialization

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2c0462d85ea8a7a69d749e295b902e95dedff00
---

 modules/services_discovery/podcast.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c
index 4c30cb4..bb2cbf2 100644
--- a/modules/services_discovery/podcast.c
+++ b/modules/services_discovery/podcast.c
@@ -244,9 +244,9 @@ static void ParseUrls( services_discovery_t *p_sd, char *psz_urls )
 {
     services_discovery_sys_t *p_sys = p_sd->p_sys;
     int i_new_items = 0;
-    input_item_t **pp_new_items;
+    input_item_t **pp_new_items = NULL;
 
-    int i_new_urls;
+    int i_new_urls = 0;
     char **ppsz_new_urls = NULL;
 
     int i, j;




More information about the vlc-devel mailing list