aboutsummaryrefslogtreecommitdiff
path: root/q.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-16 23:40:23 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-16 23:40:23 -0500
commit1d4228adcfe4489bd330076e2b1004905d97d6cc (patch)
treef4f9b63c6e8c92d173030e97dc1b15c1b14b6ae7 /q.c
parentTODO: add more ideas (diff)
downloadportage-utils-1d4228adcfe4489bd330076e2b1004905d97d6cc.tar.gz
portage-utils-1d4228adcfe4489bd330076e2b1004905d97d6cc.tar.bz2
portage-utils-1d4228adcfe4489bd330076e2b1004905d97d6cc.zip
clean up old debug statements
Much of this debug output has outlived its usefulness now that the code has stabilized. Clean it all up to make the debug builds way less noisy and keep from breaking the tests.
Diffstat (limited to 'q.c')
-rw-r--r--q.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/q.c b/q.c
index 443ce4b..53b359f 100644
--- a/q.c
+++ b/q.c
@@ -32,7 +32,6 @@ static APPLET lookup_applet(const char *applet)
for (i = 0; applets[i].name; ++i) {
if (strcmp(applets[i].name, applet) == 0) {
- DBG("found applet %s at %p", applets[i].name, applets[i].func);
argv0 = applets[i].name;
if (i && applets[i].desc != NULL) ++argv0; /* chop the leading 'q' */
return applets[i].func;
@@ -40,10 +39,8 @@ static APPLET lookup_applet(const char *applet)
}
/* No applet found? Search by shortname then... */
- DBG("Looking up applet (%s) by short name", applet);
for (i = 1; applets[i].desc != NULL; ++i) {
if (strcmp(applets[i].name + 1, applet) == 0) {
- DBG("found applet by short name %s", applets[i].name);
argv0 = applets[i].name + 1;
return applets[i].func;
}