From 8249b71509ca3a2571fed7ee2d774bd62debe6ef Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 7 Oct 2007 21:28:44 +0200 Subject: [PATCH] error.h: Remove some unused errors. --- error.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/error.h b/error.h index c164700d..d648f14e 100644 --- a/error.h +++ b/error.h @@ -84,17 +84,14 @@ extern const char **para_errlist[]; #define AFS_ERRORS \ PARA_ERROR(BAD_TABLE_NAME, "invalid table"), \ PARA_ERROR(INPUT_TOO_LARGE, "input too large for stdin command"), \ - PARA_ERROR(READ, "read error"), \ PARA_ERROR(AFS_SYNTAX, "afs syntax error"), \ PARA_ERROR(AFS_SIGNAL, "afs caught deadly signal"), \ #define MOOD_ERRORS \ PARA_ERROR(MOOD_SYNTAX, "mood syntax error"), \ - PARA_ERROR(MOOD_REGEX, "invalid regular expression"), \ PARA_ERROR(NO_MOOD, "no mood available"), \ PARA_ERROR(MOOD_LOADED, "mood loaded"), \ - PARA_ERROR(MOOD_BUSY, "mood is in use"), \ PARA_ERROR(NOT_ADMISSIBLE, "file is not admussible"), \ @@ -110,7 +107,6 @@ extern const char **para_errlist[]; #define PLAYLIST_ERRORS \ - PARA_ERROR(PLAYLIST_SYNTAX, "playlist syntax error"), \ PARA_ERROR(NO_PLAYLIST, "no valid playlist found"), \ PARA_ERROR(PLAYLIST_LOADED, ""), /* not really an error */ \ PARA_ERROR(PLAYLIST_EMPTY, "attempted to load empty playlist"), \ @@ -146,8 +142,6 @@ extern const char **para_errlist[]; PARA_ERROR(AUDIOC_SYNTAX, "audioc syntax error"), \ PARA_ERROR(AUDIOC_READ, "audioc read error"), \ PARA_ERROR(AUDIOC_WRITE, "audioc write error"), \ - PARA_ERROR(INIT_SOCK_ADDR, "can not init socket"), \ - PARA_ERROR(AUDIOC_CONNECT, "audioc connect error"), \ PARA_ERROR(AUDIOC_OVERRUN, "audioc buffer overrun"), \ @@ -326,7 +320,6 @@ extern const char **para_errlist[]; #define AFS_COMMON_ERRORS \ - PARA_ERROR(GETCWD, "can not get current working directory"), \ PARA_ERROR(LSTAT, "lstat error"), \ -- 2.30.2