From 5ff39dc78d06991d4161698cfbd7b6084af4fb37 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 30 May 2008 10:26:28 -0700 Subject: [PATCH] stdscan.c: clarify comment There is a reason rn_warn isn't checked in this particular case... --- stdscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdscan.c b/stdscan.c index 8295054a..30269e47 100644 --- a/stdscan.c +++ b/stdscan.c @@ -183,7 +183,7 @@ int stdscan(void *private_data, struct tokenval *tv) return tv->t_type = TOKEN_ERRNUM; /* unmatched quotes */ stdscan_bufptr++; /* skip over final quote */ tv->t_integer = readstrnum(r, tv->t_inttwo, &rn_warn); - /* FIXME: rn_warn is not checked! */ + /* rn_warn is not checked on purpose; it might not be a valid number */ return tv->t_type = TOKEN_NUM; } else if (*stdscan_bufptr == ';') { /* a comment has happened - stay */ return tv->t_type = 0; -- 2.11.4.GIT