etags: work around GCC bug 114882
* lib-src/etags.c: Ignore -Wanalyzer-use-of-uninitialized-value. This applies to the whole source file, not just to areas where GCC has bugs, as it was too tricky to ignore more selectively.
This commit is contained in:
parent
7e2309c6fc
commit
ca4f0705be
1 changed files with 6 additions and 0 deletions
|
@ -143,6 +143,12 @@ University of California, as described above. */
|
|||
# define MERCURY_HEURISTICS_RATIO 0.5
|
||||
#endif
|
||||
|
||||
/* Work around GCC bug 114882
|
||||
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114882>. */
|
||||
#if GNUC_PREREQ (14, 0, 0)
|
||||
# pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value"
|
||||
#endif
|
||||
|
||||
/* COPY to DEST from SRC (containing LEN bytes), and append a NUL byte. */
|
||||
static void
|
||||
memcpyz (void *dest, void const *src, ptrdiff_t len)
|
||||
|
|
Loading…
Add table
Reference in a new issue