summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-03-08 20:57:03 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-03-08 20:57:03 +0000
commitddcfaa1f5a01dea2b9ba03a695149819f107dd46 (patch)
tree4545ecddd030f37fb3625de9168f59b7b378a351 /lib
parentd6eeae2716021a6363e695d8b6bdbe151222fe36 (diff)
removed an uneeded error code (DB_UPTODATE)
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h1
-rw-r--r--lib/libalpm/error.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 134d40b7..9eefa76f 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -349,7 +349,6 @@ extern enum __pmerrno_t {
PM_ERR_DB_NOT_FOUND,
PM_ERR_DB_WRITE,
PM_ERR_DB_REMOVE,
- PM_ERR_DB_UPTODATE,
/* Configuration */
PM_ERR_OPT_LOGFILE,
PM_ERR_OPT_DBPATH,
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 1428ff35..336b7152 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -57,8 +57,6 @@ char *alpm_strerror(int err)
return "could not update database";
case PM_ERR_DB_REMOVE:
return "could not remove database entry";
- case PM_ERR_DB_UPTODATE:
- return "database is up to date";
/* Configuration */
case PM_ERR_OPT_LOGFILE:
case PM_ERR_OPT_DBPATH: