From ddcfaa1f5a01dea2b9ba03a695149819f107dd46 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 8 Mar 2006 20:57:03 +0000 Subject: removed an uneeded error code (DB_UPTODATE) --- lib/libalpm/alpm.h | 1 - lib/libalpm/error.c | 2 -- 2 files changed, 3 deletions(-) (limited to 'lib') 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: -- cgit v1.2.3-70-g09d2