]> git.ipfire.org Git - thirdparty/tar.git/commit
Simplify recently-added hash code
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Aug 2023 20:40:37 +0000 (13:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Aug 2023 20:42:14 +0000 (13:42 -0700)
commit12b58a69aa97acf12403065fb7b4a2b6e22cd7e9
treee36a969ccc9d1ea724a4204a874e98ef76c8384e
parenta5afb367655ac6dcbc79ba7802a2479044184b38
Simplify recently-added hash code

* src/extract.c (delay_set_stat): Simplify hash lookup;
no need to initialize members other than file_name.
Avoid assignment in ‘if’ when it’s easy.
(extract_finish): Do not bother to free when we are about to exit.
src/extract.c