diff options
| author | Paul Eggert | 2022-05-31 01:19:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2022-05-31 01:26:47 -0700 |
| commit | a1c19dfca4b1e0b84a958aee33c8212dc69cd2cb (patch) | |
| tree | c89d553de7ec5710a8bde01b5fd2682b331f0cab /src/coding.c | |
| parent | d94890404e91d5ba50afaa4bc27b9c655dbed5f1 (diff) | |
| download | emacs-a1c19dfca4b1e0b84a958aee33c8212dc69cd2cb.tar.gz emacs-a1c19dfca4b1e0b84a958aee33c8212dc69cd2cb.zip | |
Pacify GCC 12 -Wanalyzer-use-of-uninitialized-value
* lib-src/etags.c (readline_internal): Do not copy a pointer to
freed storage, as that has undefined behavior even if the pointer
is not dereferenced.
(relative_filename): Avoid a backward scan by remembering where
the last slash was. This is a bit faster, and pacifies a GCC
false alarm.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions