1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Eliminate another 'calculated, not used' warning by nuking a spurious

dereference.

Same change made in NetBSD in 1997.

ok tb@ millert@ tom@
This commit is contained in:
krw 2016-12-21 18:28:19 +00:00
parent 57887ff94a
commit 152cfd509a

View File

@ -1,4 +1,4 @@
/* $OpenBSD: io.c,v 1.21 2016/03/08 10:48:39 mestre Exp $ */
/* $OpenBSD: io.c,v 1.22 2016/12/21 18:28:19 krw Exp $ */
/* $NetBSD: io.c,v 1.3 1995/04/24 12:21:37 cgd Exp $ */
/*-
@ -376,7 +376,7 @@ rtrav(void) /* read travel table */
entries = 0;
oldloc = locc;
}
for (s = buf; ; *s++) /* get the newloc number /ASCII */
for (s = buf; ; s++) /* get the newloc number /ASCII */
if ((*s = next()) == TAB || *s == LF)
break;
*s = 0;