[vlc-commits] remove unused function

Rémi Duraffort git at videolan.org
Wed Jul 13 11:10:54 CEST 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Jul 12 11:07:36 2011 +0200| [1280d7649291ec5c3302ab62e92adeab122b18b1] | committer: Rémi Duraffort

remove unused function

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

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

diff --git a/src/misc/objects.c b/src/misc/objects.c
index de7e9ff..c470f3f 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -402,17 +402,6 @@ void vlc_object_kill( vlc_object_t *p_this )
     }
 }
 
-static int objnamecmp(const vlc_object_t *obj, const char *name)
-{
-    char *objname = vlc_object_get_name(obj);
-    if (objname == NULL)
-        return INT_MIN;
-
-    int ret = strcmp (objname, name);
-    free (objname);
-    return ret;
-}
-
 #undef vlc_object_find_name
 /**
  * Finds a named object and increment its reference count.



More information about the vlc-commits mailing list