diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2026-05-23 18:48:45 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2026-05-23 19:18:54 -0700 |
| commit | e7a333f18e96fc88d98e574be5c8e355efa96c36 (patch) | |
| tree | b8e2b7fe021f8ec5cd6f51e8016ca70f731b3b64 /java/org/gnu/emacs/EmacsDialogButtonLayout.java | |
| parent | 7bfde4d50b5e188211e5154a735619905e2a734d (diff) | |
EVENT_INIT via a compound literal
This pacifies GCC 16.1.1 x86-64 -Warray-bounds when compiling with
-fsanitize=address. It’s also cleaner on more-typical platforms.
* src/termhooks.h (EVENT_INIT): Define via a compound literal
rather than via a memset plus an assignment. This evaluates the
argument lvalue only once, and is more likely to catch type errors.
Diffstat (limited to 'java/org/gnu/emacs/EmacsDialogButtonLayout.java')
0 files changed, 0 insertions, 0 deletions
