Pacify GCC 12 false positive in ccl.c
* src/ccl.c: Suppress -Wanalyzer-use-of-uninitialized-value in GCC 12 or later.
This commit is contained in:
parent
30966a6e67
commit
13dac6f3e9
1 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
#include "coding.h"
|
||||
#include "keyboard.h"
|
||||
|
||||
/* Avoid GCC 12 bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105784>. */
|
||||
#if GNUC_PREREQ (12, 0, 0)
|
||||
# pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value"
|
||||
#endif
|
||||
|
||||
/* Table of registered CCL programs. Each element is a vector of
|
||||
NAME, CCL_PROG, RESOLVEDP, and UPDATEDP, where NAME (symbol) is the
|
||||
name of the program, CCL_PROG (vector) is the compiled code of the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue