silence a warning

This commit is contained in:
marschap
2007-10-04 13:57:09 +00:00
parent 59369285d6
commit 7c023ce1b1
+1 -1
View File
@@ -541,7 +541,7 @@ screen_del_key_func(Client *c, int argc, char **argv)
char *to; char *to;
to = from = s->keys; to = from = s->keys;
while (*from != NULL) { while (*from != '\0') {
/* Is this key to be deleted from the list? */ /* Is this key to be deleted from the list? */
if (strchr(keys, *from) == 0) { if (strchr(keys, *from) == 0) {
/* Yes, skip it */ /* Yes, skip it */