From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 076CD138350 for ; Sun, 16 Feb 2020 10:17:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37680E0825; Sun, 16 Feb 2020 10:17:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1AADAE0825 for ; Sun, 16 Feb 2020 10:17:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 253EA34E3CD for ; Sun, 16 Feb 2020 10:17:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6FCECF for ; Sun, 16 Feb 2020 10:17:48 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1581848190.badf3b23a4d17bfcd87cb855916d321c81868565.slyfox@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: dumpelf.c X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: badf3b23a4d17bfcd87cb855916d321c81868565 X-VCS-Branch: master Date: Sun, 16 Feb 2020 10:17:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 658d34e2-7ac5-4cc2-aaa0-d8b651b842b3 X-Archives-Hash: 17cddcbe30621711ecdc870862958bcb commit: badf3b23a4d17bfcd87cb855916d321c81868565 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Feb 16 10:16:30 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Feb 16 10:16:30 2020 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=badf3b23 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 gentoo.org> dumpelf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dumpelf.c b/dumpelf.c index 405beba..bc634f0 100644 --- a/dumpelf.c +++ b/dumpelf.c @@ -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) \