If we've gotten through the for loop in the alias functions, then we
don't have a match.
}
/* Didn't find a match */
- if (i < 0) {
- fprintf(stderr, "can't find matching definition %s for keysym %s\n",
- alias, key);
- return -1;
- }
+ fprintf(stderr, "can't find matching definition %s for keysym %s\n",
+ alias, key);
+ return -1;
}
static int
}
/* Didn't find a match */
- if (i < 0) {
- fprintf(stderr, "can't find matching definition %s for keysym %s\n",
- alias, key);
- return -1;
- }
+ fprintf(stderr, "can't find matching definition %s for keysym %s\n",
+ alias, key);
+ return -1;
}
int