aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert2022-05-31 01:19:31 -0700
committerPaul Eggert2022-05-31 01:26:47 -0700
commita1c19dfca4b1e0b84a958aee33c8212dc69cd2cb (patch)
treec89d553de7ec5710a8bde01b5fd2682b331f0cab /src/coding.c
parentd94890404e91d5ba50afaa4bc27b9c655dbed5f1 (diff)
downloademacs-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