From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20558 invoked by alias); 19 Jul 2018 13:11:14 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 20417 invoked by uid 89); 19 Jul 2018 13:11:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:38C3E7B, H*f:sk:38C3E7B X-HELO: mail-it0-f42.google.com Received: from mail-it0-f42.google.com (HELO mail-it0-f42.google.com) (209.85.214.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Jul 2018 13:11:12 +0000 Received: by mail-it0-f42.google.com with SMTP id w16-v6so9065217ita.0 for ; Thu, 19 Jul 2018 06:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+im2qgZ09KpSSP5CEWU/gGpz2QV3e70hlYhTOk3U2sM=; b=PfiNLgUZ8uxBUc1MSVpTc/Iq4RDpDl0RjzmLeJKxpH5D+s6oNQ2sPkntHo7r8I/Xnf oYnVLBt+yyo8A3DizAbDWHVPuF+rCs5lTILE9cGyDZmJZnw3/kXG6r2/RXXDdlUIsl6G V4fBZsyV3mDgFvJgWKV1/Tek/4oGEUJzqtEGxQ9gYj6wNHU2Im4AW0VUBmtv6tlDyx1m gzpWnpaiyiaqS0DD38eCvyxmnq7/Yd+9LAu6JrY+XUmsXaQ+g29JFAqtLYpGZzakPZ0f gkDowzy1MOJYhK3LOnaIBkodiDOoXgllVccQbjJm4sAiDKx6k7oA5Bq/WYaftTinVzrR S8Og== MIME-Version: 1.0 References: <5B5050B2.3010701@mutluit.com> <38C3E7B4-3B5F-4947-9E8D-2BF60715C6DA@comcast.net> In-Reply-To: <38C3E7B4-3B5F-4947-9E8D-2BF60715C6DA@comcast.net> From: Jonathan Wakely Date: Thu, 19 Jul 2018 13:48:00 -0000 Message-ID: Subject: Re: Detecting superfluous "else" To: paulkoning@comcast.net Cc: "gcc@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00278.txt.bz2 On Thu, 19 Jul 2018 at 14:01, Paul Koning wrote: > Warnings are appropriate for code that is known to be a source of bugs, or where there is a reasonable chance that the intent of the programmer doesn't match what was actually written. That's not the case here. Agreed. This seems to be a purely stylistic preference.