From cff1e2a58ffbf878e03689b52e58d8a830b45aff Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 30 Nov 2007 23:02:06 -0600 Subject: 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 --- lib/libalpm/deps.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/libalpm/deps.c') 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); } -- cgit v1.2.3-24-g4f1b