diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-03 18:48:24 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-03 18:48:24 +0200 |
commit | 78cbc045c129ca7767b13127e1e17c400b112770 (patch) | |
tree | af797e98350f0f1b88637349b49e5a54194b6f79 /lib/libalpm/add.c | |
parent | 9d73b261cf1bbe8db0b176aeb6a40eb9df61d1e9 (diff) | |
download | pacman-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/add.c')
-rw-r--r-- | lib/libalpm/add.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index ee56e876..e9dc7dcd 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -55,8 +55,6 @@ int SYMEXPORT alpm_add_pkg(pmpkg_t *pkg) pmdb_t *db_local; pmpkg_t *local; - ALPM_LOG_FUNC; - /* Sanity checks */ ASSERT(pkg != NULL, RET_ERR(PM_ERR_WRONG_ARGS, -1)); ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1)); @@ -474,8 +472,6 @@ static int commit_single_pkg(pmpkg_t *newpkg, size_t pkg_current, int is_upgrade = 0; pmpkg_t *oldpkg = NULL; - ALPM_LOG_FUNC; - ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1)); snprintf(scriptlet, PATH_MAX, "%s%s-%s/install", @@ -708,8 +704,6 @@ int _alpm_upgrade_packages(pmtrans_t *trans, pmdb_t *db) int skip_ldconfig = 0, ret = 0; alpm_list_t *targ; - ALPM_LOG_FUNC; - ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1)); ASSERT(db != NULL, RET_ERR(PM_ERR_DB_NULL, -1)); |