* buffer.c: work around GCC bug 109856

This commit is contained in:
Paul Eggert
2023-06-16 16:34:19 -07:00
parent 4695adfd59
commit 9ee30c9804

View File

@@ -32,6 +32,11 @@
#include "common.h"
#include <rmt.h>
/* 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