Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h5
-rw-r--r--lib/libalpm/error.c3
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index f0b92996..a237fe36 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -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,
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index af79c64f..609e598f 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -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: