From patchwork Fri Dec 2 13:14:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 86294 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp248850qgi; Fri, 2 Dec 2016 05:15:17 -0800 (PST) X-Received: by 10.98.137.21 with SMTP id v21mr45195765pfd.48.1480684517237; Fri, 02 Dec 2016 05:15:17 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 31si5136507plk.90.2016.12.02.05.15.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2016 05:15:17 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-443319-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-443319-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-443319-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=QxP/YFkDYIC+a/zByQwb15I6UhCFNKvA1yt9SAqnTraFBM9arJ 10jFepUfFpxTwURrWhfplQ3x6CQqXUgBs8f39ivB6Uy+1qdee4a1GCoOgBwJJRBu IOBLic9Axe7xN5RnytqLAZYZPenu46DpUhhageOcMprLaCNLY0jG0sSXQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=Jkbga8iVr8v82Urj05UPHKIccvc=; b=RgzJrMe9zEcoH+BHnvSt ZcwGGvgEcrbwFBZAkaAa7N8TOz/J4z9BugdKfuYYg23LwM0ZI0zX31+2iSuNNNpB M0i01z455bhZ9n+7cohLRfJ85Rjh53tixraeTThZWfjQ2VGDWrRRIpSCURUdt1o6 xEAgIna4PWkHjkpMLFTyigc= Received: (qmail 20570 invoked by alias); 2 Dec 2016 13:15:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 20526 invoked by uid 89); 2 Dec 2016 13:15:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=no version=3.3.2 spammy=U*nathan, H*F:U*nathan, 8347, 8349 X-HELO: mail-yw0-f196.google.com Received: from mail-yw0-f196.google.com (HELO mail-yw0-f196.google.com) (209.85.161.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Dec 2016 13:14:51 +0000 Received: by mail-yw0-f196.google.com with SMTP id b66so21584457ywh.2 for ; Fri, 02 Dec 2016 05:14:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:to:from:subject:message-id:date :user-agent:mime-version; bh=yo3LRXrENN3fI/fxNm+dS7GYKOdz7E+TvCzjzDX/Pc8=; b=YH+0xEXQyiVnXt8Lv+8WnqNPDNgyhGvv/6UaawbhshCv4V4fOySVLZHfydlZNXHj9p iW8TFklSuCgjUuSiWmKI+HMKstvwUXYIVBeC6h94HGLxAEi+KufSJCU1p5IQca4u4uEU NEE2YemnNYgcNGvUti87zSTkcsdliipoQlnsr0ASws0HnPzEoGA9STRlE4BoxM0EuPFU SjeQIDU7Wtfr3xjOzrxjmTBPJOdOUqfT0wgBJUZSZlrVqgt5PGfsvlm+fmHunFW5hi1U RBfhIYv3PWZWG4CjSOJDE7A7ieRPI+1jZk16b1z9+pndfQBxYprICbyY4vDOopqp0SKf B0Hw== X-Gm-Message-State: AKaTC03v88KB4qFWNXS6eQoleUwAI+5dcB23RltiR9N1RrJfxN4zxKp04srKqtS3GUzbng== X-Received: by 10.13.249.133 with SMTP id j127mr49540213ywf.18.1480684490179; Fri, 02 Dec 2016 05:14:50 -0800 (PST) Received: from ?IPv6:2620:10d:c0a3:20fb:f6d0:5ac5:64cd:f102? ([2620:10d:c091:200::4dd7]) by smtp.googlemail.com with ESMTPSA id x131sm1835849ywg.49.2016.12.02.05.14.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2016 05:14:49 -0800 (PST) To: GCC Patches From: Nathan Sidwell Subject: [PATCH] formatting nit Message-ID: <9594f8b7-3833-b2e6-9618-731d2d5b0d37@acm.org> Date: Fri, 2 Dec 2016 08:14:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Another formatting nit I noticed. Committed. nathan -- Nathan Sidwell 2016-12-02 Nathan Sidwell * diagnostic.c (diagnostic_report_diagnostic): Remove extraneous braces. Index: diagnostic.c =================================================================== --- diagnostic.c (revision 243176) +++ diagnostic.c (working copy) @@ -834,9 +834,7 @@ diagnostic_report_diagnostic (diagnostic -Wno-error=*. */ if (context->warning_as_error_requested && diagnostic->kind == DK_WARNING) - { - diagnostic->kind = DK_ERROR; - } + diagnostic->kind = DK_ERROR; if (diagnostic->option_index && diagnostic->option_index != permissive_error_option (context))