[vlc-commits] Remove unused VLC_EEXIT* error codes
Rémi Denis-Courmont
git at videolan.org
Sun Dec 2 09:22:24 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 2 10:20:40 2012 +0200| [18d81d128dbec14000361f0da7096fa68d54c829] | committer: Rémi Denis-Courmont
Remove unused VLC_EEXIT* error codes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18d81d128dbec14000361f0da7096fa68d54c829
---
include/vlc_common.h | 2 --
src/misc/error.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index 55715e6..90d0173 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -406,8 +406,6 @@ struct vlc_list_t
#define VLC_ENOITEM -40 /**< Item not found */
-#define VLC_EEXIT -255 /* Program exited */
-#define VLC_EEXITSUCCESS -999 /* Program exited successfully */
#define VLC_EGENERIC -666 /* Generic error */
/*****************************************************************************
diff --git a/src/misc/error.c b/src/misc/error.c
index 95c8d73..7cd9114 100644
--- a/src/misc/error.c
+++ b/src/misc/error.c
@@ -59,8 +59,6 @@ char const * vlc_error ( int i_err )
case VLC_EBADVAR:
return "bad variable value";
- case VLC_EEXIT:
- return "program exited";
case VLC_EGENERIC:
return "generic error";
default:
More information about the vlc-commits
mailing list