diff options
author | 2020-02-16 10:16:30 +0000 | |
---|---|---|
committer | 2020-02-16 10:16:30 +0000 | |
commit | badf3b23a4d17bfcd87cb855916d321c81868565 (patch) | |
tree | 06132fcb1c0a1545eaaf84392cde5434aba2c312 /dumpelf.c | |
parent | security.c: whitelist ipc() syscall for fakeroot on ppc64 and friends (diff) | |
download | pax-utils-badf3b23a4d17bfcd87cb855916d321c81868565.tar.gz pax-utils-badf3b23a4d17bfcd87cb855916d321c81868565.tar.bz2 pax-utils-badf3b23a4d17bfcd87cb855916d321c81868565.zip |
dumpelf.c: add missing break when decoding SHT_GNU_LIBLIST
Detected by gcc-10 as:
```
dumpelf.c: In function 'dump_shdr':
dumpelf.c:462:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
462 | printf("\t */\n"); \
| ^~~~~~~~~~~~~~~~~
```
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dumpelf.c')
-rw-r--r-- | dumpelf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -460,6 +460,7 @@ static void dump_shdr(elfobj *elf, const void *shdr_void, size_t shdr_cnt, const ++lib; \ } \ printf("\t */\n"); \ + break; \ } \ default: { \ if (be_verbose <= 1) \ |