From: Jim Meyering Date: Wed, 28 Oct 2009 10:07:31 +0000 (+0100) Subject: fprintftime: remove stray semicolon from previous change X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8348e9cb93a2bc8d7ab41022ee4bff19c49069e8;p=pspp fprintftime: remove stray semicolon from previous change * lib/strftime.c (cpy) [FPRINTFTIME]: Remove trailing semicolon. --- diff --git a/ChangeLog b/ChangeLog index ed3e6bd124..32405a9843 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 7f06d6fda2..4467415a5e 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) \