[vlc-commits] audioscrobbler: fix use of uninitialized variable
Rémi Duraffort
git at videolan.org
Mon Dec 16 19:54:50 CET 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Dec 16 19:54:19 2013 +0100| [1cd26526dc06939be0952191856df707c0dc9a4f] | committer: Rémi Duraffort
audioscrobbler: fix use of uninitialized variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cd26526dc06939be0952191856df707c0dc9a4f
---
modules/misc/audioscrobbler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/misc/audioscrobbler.c b/modules/misc/audioscrobbler.c
index d93972b..08caeaa 100644
--- a/modules/misc/audioscrobbler.c
+++ b/modules/misc/audioscrobbler.c
@@ -697,7 +697,7 @@ static void *Run(void *data)
/* data about audioscrobbler session */
mtime_t next_exchange = -1; /**< when can we send data */
- unsigned int i_interval; /**< waiting interval (secs)*/
+ unsigned int i_interval = 0; /**< waiting interval (secs)*/
intf_sys_t *p_sys = p_intf->p_sys;
More information about the vlc-commits
mailing list