[vlc-devel] commit: Remove unused VLC_EBADOBJ ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jun 15 14:30:15 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun 15 15:32:09 2008 +0300| [b501c2e0bc8160ea26ffe50cbe209bb291166e03]

Remove unused VLC_EBADOBJ

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

 include/vlc_common.h |    1 -
 src/misc/error.c     |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index d448371..e217050 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -440,7 +440,6 @@ struct vlc_list_t
 #define VLC_ENOMOD         -10                           /* Module not found */
 
 #define VLC_ENOOBJ         -20                           /* Object not found */
-#define VLC_EBADOBJ        -21                            /* Bad object type */
 
 #define VLC_ENOVAR         -30                         /* Variable not found */
 #define VLC_EBADVAR        -31                         /* Bad variable value */
diff --git a/src/misc/error.c b/src/misc/error.c
index cfd087a..bb982c4 100644
--- a/src/misc/error.c
+++ b/src/misc/error.c
@@ -55,8 +55,6 @@ char const * vlc_error ( int i_err )
 
         case VLC_ENOOBJ:
             return "object not found";
-        case VLC_EBADOBJ:
-            return "bad object type";
 
         case VLC_ENOVAR:
             return "variable not found";




More information about the vlc-devel mailing list