[vlc-devel] commit: Remove dead code ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 24 19:57:55 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jan 24 20:40:46 2009 +0200| [144b55c97dbc6d8d788054945ea83cda69c9f90e] | committer: Rémi Denis-Courmont 

Remove dead code

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

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

diff --git a/src/misc/objects.c b/src/misc/objects.c
index fa1f691..acb1bce 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -93,13 +93,6 @@ static void vlc_object_dump( vlc_object_t *p_this );
 /*****************************************************************************
  * Local structure lock
  *****************************************************************************/
-static void close_nocancel (int fd)
-{
-    int canc = vlc_savecancel ();
-    close (fd);
-    vlc_restorecancel (canc);
-}
-
 static void libvlc_lock (libvlc_int_t *p_libvlc)
 {
     vlc_mutex_lock (&(libvlc_priv (p_libvlc)->structure_lock));




More information about the vlc-devel mailing list