From: Paul Eggert Date: Fri, 16 Jun 2023 23:34:19 +0000 (-0700) Subject: * buffer.c: work around GCC bug 109856 X-Git-Tag: v1.35~15 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ee30c9804f3771ffc46e2d1eae83e1d302f19c4;p=thirdparty%2Ftar.git * buffer.c: work around GCC bug 109856 --- diff --git a/src/buffer.c b/src/buffer.c index a929138f..b19d51de 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -32,6 +32,11 @@ #include "common.h" #include +/* Work around GCC bug 109856. */ +# if 13 <= __GNUC__ +# pragma GCC diagnostic ignored "-Wnull-dereference" +# endif + /* Number of retries before giving up on read. */ #define READ_ERROR_MAX 10