Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 11:48:24 -0500
committerDan McGee <dan@archlinux.org>2011-06-03 11:48:24 -0500
commit78cbc045c129ca7767b13127e1e17c400b112770 (patch)
treeaf797e98350f0f1b88637349b49e5a54194b6f79 /lib/libalpm/be_sync.c
parent9d73b261cf1bbe8db0b176aeb6a40eb9df61d1e9 (diff)
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/be_sync.c')
-rw-r--r--lib/libalpm/be_sync.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 9d85a454..77c9207d 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -87,8 +87,6 @@ int SYMEXPORT alpm_db_update(int force, pmdb_t *db)
mode_t oldmask;
pgp_verify_t check_sig;
- ALPM_LOG_FUNC;
-
/* Sanity checks */
ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1));
ASSERT(db != NULL && db != handle->db_local, RET_ERR(PM_ERR_WRONG_ARGS, -1));
@@ -242,8 +240,6 @@ static int sync_db_populate(pmdb_t *db)
struct archive_entry *entry;
pmpkg_t *pkg = NULL;
- ALPM_LOG_FUNC;
-
ASSERT(db != NULL, RET_ERR(PM_ERR_DB_NULL, -1));
if((archive = archive_read_new()) == NULL) {
@@ -360,8 +356,6 @@ static int sync_db_read(pmdb_t *db, struct archive *archive,
pmpkg_t *pkg;
struct archive_read_buffer buf;
- ALPM_LOG_FUNC;
-
if(db == NULL) {
RET_ERR(PM_ERR_DB_NULL, -1);
}
@@ -512,7 +506,6 @@ pmdb_t *_alpm_db_register_sync(const char *treename)
{
pmdb_t *db;
- ALPM_LOG_FUNC;
_alpm_log(PM_LOG_DEBUG, "registering sync database '%s'\n", treename);
db = _alpm_db_new(treename, 0);