[vlc-commits] commit: Remove unused timer attribute ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)

git at videolan.org git at videolan.org
Wed Nov 24 17:41:00 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov 24 18:40:41 2010 +0200| [c39920a9215fe708584f16f3d6a45c54a6db0a1a] | committer: Rémi Denis-Courmont 

Remove unused timer attribute

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

 src/misc/pthread.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/misc/pthread.c b/src/misc/pthread.c
index ae00267..761493b 100644
--- a/src/misc/pthread.c
+++ b/src/misc/pthread.c
@@ -804,7 +804,6 @@ struct vlc_timer
     void       (*func) (void *);
     void        *data;
     mtime_t      value, interval;
-    unsigned     users;
     vlc_atomic_t overruns;
 };
 
@@ -867,7 +866,6 @@ int vlc_timer_create (vlc_timer_t *id, void (*func) (void *), void *data)
     timer->data = data;
     timer->value = 0;
     timer->interval = 0;
-    timer->users = 0;
     vlc_atomic_set(&timer->overruns, 0);
     *id = timer;
     return 0;



More information about the vlc-commits mailing list