1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

removed unuseful error codes

This commit is contained in:
Aurelien Foret 2006-01-13 20:55:39 +00:00
parent 365e440e80
commit d42c6bdc49
2 changed files with 1 additions and 7 deletions

View File

@ -310,8 +310,7 @@ char *alpm_get_md5sum(char *name);
*/
extern enum __pmerrno_t {
PM_ERR_NOERROR = 1,
PM_ERR_MEMORY,
PM_ERR_MEMORY = 1,
PM_ERR_SYSTEM,
PM_ERR_BADPERMS,
PM_ERR_NOT_A_FILE,
@ -328,8 +327,6 @@ extern enum __pmerrno_t {
PM_ERR_DB_NOT_FOUND,
PM_ERR_DB_WRITE,
PM_ERR_DB_UPTODATE,
/* Cache */
PM_ERR_CACHE_NULL,
/* Configuration */
PM_ERR_OPT_LOGFILE,
PM_ERR_OPT_DBPATH,

View File

@ -57,9 +57,6 @@ char *alpm_strerror(int err)
return "could not update database";
case PM_ERR_DB_UPTODATE:
return "database is up to date";
/* Cache */
case PM_ERR_CACHE_NULL:
return "cache not initialized";
/* Configuration */
case PM_ERR_OPT_LOGFILE:
case PM_ERR_OPT_DBPATH: