]> git.ipfire.org Git - thirdparty/tar.git/commit
Pacify GCC 16.1 -Wanalyzer-use-of-uninitialized-value master
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 May 2026 22:37:37 +0000 (15:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 May 2026 22:38:15 +0000 (15:38 -0700)
commit0efc3bd058bbb57d4628fc3b450079efbfb65cfc
tree847ffe8b22cbc3d8480c35a4fedb0204d07634be
parentd96b58545d427487627daa50e3fbf24b4c7a5e2e
Pacify GCC 16.1 -Wanalyzer-use-of-uninitialized-value

This fixes a false positive with gcc 16.1.1 20260501 (Red Hat
16.1.1-1) on x86-64.
* src/extract.c (set_stat): Use differently-worded but equivalent test
to help the compiler see that ts[0].tv_sec is used only if sedt.
src/extract.c