]> git.ipfire.org Git - thirdparty/tar.git/commit
maint: avoid warnings from upcoming GCC8
authorJim Meyering <meyering@fb.com>
Mon, 19 Mar 2018 00:59:25 +0000 (17:59 -0700)
committerSergey Poznyakoff <gray@gnu.org>
Sat, 7 Apr 2018 07:36:23 +0000 (10:36 +0300)
commitccef8581b8673cadd1c084595de4efde956c3c2b
tree71cb1a530d3ffb3f3cfca0026fe0ac629c3458fd
parent2d00d8b32190ca7135673999b175850019746042
maint: avoid warnings from upcoming GCC8

* src/transform.c (_single_transform_name_to_obstack): Mark with
FALLTHROUGH statement rather than /* FALL THROUGH */ comment.
Only the former works with gcc-8.
* src/extract.c (maybe_recoverable): Call abort to tell gcc-8 that
this code is unreachable.
src/extract.c
src/transform.c