Thanks for fixing that. I had misinterpreted the Coverity message; sorry
about that.
Paul Eggert wrote:
> > Paul Eggert wrote:
> >> * 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).
> > This appears to trade a false alarm for anoth
On 2023-12-18 05:04, Bruno Haible wrote:
Paul Eggert wrote:
* 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).
This appears to trade a false alarm for an
Paul Eggert wrote:
> * 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).
This appears to trade a false alarm for another false alarm. Namely,
now Coverit
* 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| 7 +++
lib/getopt.c | 29 -
2 files changed, 23 inser