[pacman-dev] [PATCH] Remove a bogus comment from libalpm/remove.c
From a9547085796aef33f3a5ebd8282993b8a552161d Mon Sep 17 00:00:00 2001 From: Nagy Gabor <ngaba@bibl.u-szeged.hu> Date: Sun, 9 Mar 2008 11:59:13 +0100 Subject: [PATCH] Remove a bogus comment from libalpm/remove.c We do the opposite. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> --- lib/libalpm/remove.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 44d305f..b6ed115 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -62,7 +62,6 @@ int _alpm_remove_loadtarget(pmtrans_t *trans, pmdb_t *db, char *name) } if((info = _alpm_db_scan(db, name)) == NULL) { - /* Unimportant - just ignore it if we can't find it */ _alpm_log(PM_LOG_DEBUG, "could not find %s in database\n", name); RET_ERR(PM_ERR_PKG_NOT_FOUND, -1); } -- 1.5.3.8
On Sun, Mar 09, 2008 at 12:02:00PM +0100, Nagy Gabor wrote:
From a9547085796aef33f3a5ebd8282993b8a552161d Mon Sep 17 00:00:00 2001 From: Nagy Gabor <ngaba@bibl.u-szeged.hu> Date: Sun, 9 Mar 2008 11:59:13 +0100 Subject: [PATCH] Remove a bogus comment from libalpm/remove.c
We do the opposite.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> --- lib/libalpm/remove.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 44d305f..b6ed115 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -62,7 +62,6 @@ int _alpm_remove_loadtarget(pmtrans_t *trans, pmdb_t *db, char *name) }
if((info = _alpm_db_scan(db, name)) == NULL) { - /* Unimportant - just ignore it if we can't find it */ _alpm_log(PM_LOG_DEBUG, "could not find %s in database\n", name); RET_ERR(PM_ERR_PKG_NOT_FOUND, -1); } -- 1.5.3.8
Ahah, funny :)
participants (2)
-
Nagy Gabor
-
Xavier