From: Paul Eggert Date: Wed, 9 Aug 2023 02:32:49 +0000 (-0700) Subject: pinky,who: omit pragma X-Git-Tag: v9.4~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422dcd424ca6b5fbef8d3bd0088e8e9e3757a203;p=thirdparty%2Fcoreutils.git pinky,who: omit pragma * src/pinky.c, src/who.c: Omit no-longer-needed -Wstringop-overread pragma. --- diff --git a/src/pinky.c b/src/pinky.c index 1429dd0735..59c552bf17 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -426,12 +426,6 @@ print_heading (void) putchar ('\n'); } -/* Work around , - triggered by STREQ_LEN with a negative length. */ -#if 11 <= __GNUC__ -# pragma GCC diagnostic ignored "-Wstringop-overread" -#endif - /* Display UTMP_BUF, which should have N entries. */ static void diff --git a/src/who.c b/src/who.c index 27a7904e1e..074d2d5ad1 100644 --- a/src/who.c +++ b/src/who.c @@ -570,12 +570,6 @@ print_heading (void) _("PID"), _("COMMENT"), _("EXIT")); } -/* Work around , - triggered by STREQ_LEN with a negative length. */ -#if 11 <= __GNUC__ -# pragma GCC diagnostic ignored "-Wstringop-overread" -#endif - /* Display UTMP_BUF, which should have N entries. */ static void scan_entries (idx_t n, const STRUCT_UTMP *utmp_buf)