aboutsummaryrefslogtreecommitdiff
path: root/q.c
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-12-29 11:03:59 +0100
committerFabian Groffen <grobian@gentoo.org>2019-12-29 11:03:59 +0100
commitf46111eb2e10cfd8317f728e0638b947ac47ab62 (patch)
treea2fd78558925e32a2e522712ebeebb723684ed28 /q.c
parentq: improve applet searching somewhat, change warn app name (diff)
downloadportage-utils-f46111eb2e10cfd8317f728e0638b947ac47ab62.tar.gz
portage-utils-f46111eb2e10cfd8317f728e0638b947ac47ab62.tar.bz2
portage-utils-f46111eb2e10cfd8317f728e0638b947ac47ab62.zip
tests: fix after last commit
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'q.c')
-rw-r--r--q.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/q.c b/q.c
index 6d7eced..a6a9a0b 100644
--- a/q.c
+++ b/q.c
@@ -62,7 +62,7 @@ APPLET lookup_applet(const char *applet)
/* this is possibly an alias like "belongs"
* NOTE: we continue where the previous loop left, e.g. on the first
* alias (desc == NULL) */
- for ( ; applets[i].name != NULL; i++) {
+ for (/*i*/; applets[i].name != NULL; i++) {
if (strcmp(applets[i].name, applet) == 0) {
unsigned int j;