summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 18:48:24 +0200
committerDan McGee <dan@archlinux.org>2011-06-03 18:48:24 +0200
commit78cbc045c129ca7767b13127e1e17c400b112770 (patch)
treeaf797e98350f0f1b88637349b49e5a54194b6f79 /lib/libalpm/sync.c
parent9d73b261cf1bbe8db0b176aeb6a40eb9df61d1e9 (diff)
downloadpacman-78cbc045c129ca7767b13127e1e17c400b112770.tar.gz
pacman-78cbc045c129ca7767b13127e1e17c400b112770.tar.xz
Remove ALPM_LOG_FUNC macro
The usefulness of this is rather limited due to it not being compiled into production builds. When you do choose to see the output, it is often overwhelming and not helpful. The best bet is to use a debugger and/or well-placed fprintf() statements. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 8dd51aaa..b84d6256 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -89,8 +89,6 @@ int SYMEXPORT alpm_sync_sysupgrade(int enable_downgrade)
pmdb_t *db_local;
alpm_list_t *dbs_sync;
- ALPM_LOG_FUNC;
-
ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1));
trans = handle->trans;
db_local = handle->db_local;
@@ -307,8 +305,6 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync
alpm_list_t *remove = NULL;
int ret = 0;
- ALPM_LOG_FUNC;
-
ASSERT(db_local != NULL, RET_ERR(PM_ERR_DB_NULL, -1));
ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1));
@@ -840,8 +836,6 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data)
size_t numtargs, current = 0, replaces = 0;
int errors;
- ALPM_LOG_FUNC;
-
ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1));
if(download_files(trans, &deltas)) {