Date: Wed, 27 Sep 2017 23:33:52 +1000 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 From: "Mark Andrews" MIME-Version: 1.0 (1.0) X-RT-Interface: Email content-type: text/plain; charset="utf-8" In-Reply-To: Subject: Re: [ISC-Bugs #46115] Fedora 26 / gcc 7.2.1 warning X-Original-To: bind9-public@bugs.isc.org To: bind9-public@isc.org X-RT-Original-Encoding: utf-8 Message-ID: X-Mailer: iPhone Mail (14G60) References: Received: from mx.ams1.isc.org (mx.ams1.isc.org [199.6.1.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mx.ams1.isc.org", Issuer "COMODO RSA Organization Validation Secure Server CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id D98A2D78B0A for ; Wed, 27 Sep 2017 13:34:02 +0000 (UTC) Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.ams1.isc.org (Postfix) with ESMTPS id 0EFD324AE08 for ; Wed, 27 Sep 2017 13:33:49 +0000 (UTC) Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id 88488160052 for ; Wed, 27 Sep 2017 13:33:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 4D2BE16008D for ; Wed, 27 Sep 2017 13:33:56 +0000 (UTC) Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RCzuw0hrjRsY for ; Wed, 27 Sep 2017 13:33:56 +0000 (UTC) Received: from [172.30.42.88] (c27-253-115-14.carlnfd2.nsw.optusnet.com.au [27.253.115.14]) by zmx1.isc.org (Postfix) with ESMTPSA id E677C160052 for ; Wed, 27 Sep 2017 13:33:55 +0000 (UTC) Delivered-To: bind9-public@bugs.isc.org Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mx.ams1.isc.org From marka@isc.org Wed Sep 27 13:34:03 2017 X-RT-Incoming-Encryption: Not encrypted Return-Path: RT-Message-ID: Content-Length: 962 Conflicting analysers -- Mark Andrews > On 27 Sep 2017, at 22:40, Francis Dupont via RT wrote: > > > Wed Sep 27 12:40:30 2017: Request 46115 was acted upon. > Transaction: Ticket created by fdupont > Queue: bind9-public > Subject: Fedora 26 / gcc 7.2.1 warning > Owner: Nobody > Requestors: Francis_Dupont@isc.org > Status: open > Ticket > ----------------------------------------------------------------------- > > Compiling lib/irs/getnameinfo.c: > > getnameinfo.c: In function ‘irs_getnameinfo’: > getnameinfo.c:133:6: warning: this statement may fall through [-Wimplicit-fallthrough=] > if (result != 0) goto cleanup; \ > ^ > getnameinfo.c:322:4: note: in expansion of macro ‘ERR’ > ERR(EAI_INSECUREDATA); > ^~~ > getnameinfo.c:323:3: note: here > default: > ^~~~~~~ > > I suggest to add a break after the line 322. >