]> Savannah Git Hosting - gnulib.git/commit
getopt: pacify gcc -Wanalyzer-null-dereference
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Dec 2023 18:57:06 +0000 (10:57 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Dec 2023 20:09:29 +0000 (12:09 -0800)
commit3bb26f17cbb32c4129c4a26cd6122bd2227ddf05
tree0b776955d9d492d75967cd222526a7bade5a6c27
parentd1892fd701b9bf8cbe205c45f9fd0dacee0422f6
getopt: pacify gcc -Wanalyzer-null-dereference

* lib/getopt.c (process_long_option): Simplify logic slightly.
This pacifies gcc -flto -Wanalyzer-null-dereference when compiling
GNU tar on x86-64 with gcc 13.2.1 20231205 (Red Hat 13.2.1-6).
ChangeLog
lib/getopt.c