From 8348e9cb93a2bc8d7ab41022ee4bff19c49069e8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 28 Oct 2009 11:07:31 +0100 Subject: [PATCH] fprintftime: remove stray semicolon from previous change * lib/strftime.c (cpy) [FPRINTFTIME]: Remove trailing semicolon. --- ChangeLog | 3 +++ lib/strftime.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed3e6bd12..32405a984 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-10-28 Jim Meyering + fprintftime: remove stray semicolon from previous change + * lib/strftime.c (cpy) [FPRINTFTIME]: Remove trailing semicolon. + fprintftime: avoid a warning about ignored fwrite return value * lib/strftime.c [FPRINTFTIME]: Include "ignore-value.h". (cpy) [FPRINTFTIME]: Ignore fwrite failure, even though technically, diff --git a/lib/strftime.c b/lib/strftime.c index 7f06d6fda..4467415a5 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -211,7 +211,7 @@ extern char *tzname[]; is intended to be consistent with the one from ISO C, \ which permits failure due to ENOMEM *without* setting the \ stream's error indicator. */ \ - ignore_value (fwrite ((s), _n, 1, p))); \ + ignore_value (fwrite ((s), _n, 1, p))) \ } #else # define cpy(n, s) \ -- 2.11.0