diff options
author | Dan McGee <dan@archlinux.org> | 2007-11-30 23:02:06 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-30 23:02:06 -0600 |
commit | cff1e2a58ffbf878e03689b52e58d8a830b45aff (patch) | |
tree | bdeccda3c7bdb3926e7cc301413e435a44ae0092 /lib/libalpm/deps.c | |
parent | e95e346ac7e189d7facf34d1126b523ef3b87570 (diff) | |
download | pacman-cff1e2a58ffbf878e03689b52e58d8a830b45aff.tar.xz |
Remove alpm_depcmp DEBUG output
alpm_depcmp is simple enough that we shouldn't need constant debug logging,
and the logging we do have in there negatively impacts our speed regardless
of whether we actually are seeing it or not. If it ever needs debugging, it
would be trivial to reimplement it by just temporarily reverting this
commit.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r-- | lib/libalpm/deps.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 4c30ad2e..6a699bc2 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -369,10 +369,6 @@ int SYMEXPORT alpm_depcmp(pmpkg_t *pkg, pmdepend_t *dep) free(provname); } - char *depstring = alpm_dep_get_string(dep); - _alpm_log(PM_LOG_DEBUG, "alpm_depcmp %s-%s %s : %s\n", - pkgname, pkgversion, depstring, satisfy ? "match" : "no match"); - free(depstring); return(satisfy); } |