From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by sourceware.org (Postfix) with ESMTPS id 5F6E6386F81B for ; Thu, 17 Sep 2020 09:37:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5F6E6386F81B Received: by mail-ot1-x344.google.com with SMTP id c10so1280160otm.13 for ; Thu, 17 Sep 2020 02:37:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=toRLvvXY9b/IXWwrmcM3ULjPiRgyMBNxz0oYblmXcOo=; b=pxnFomM3Z4IgeXLwIoUNWmicl5DZgc2mR0V40kugggn/nMFK2O0kojBlVHvAWP38vi rjl+W0GbeFGbG+//LrN+71vUP+UyCNCOGqmRZp72zqkaeo4Yz1pdBOcJRyKvjNO7mjQS HFkc2etG/QcMYbr6ElZuzqcubVjwDaBamuzhkwIaKL/+EVL16iumLzQrlY0Q2p2GC/yX PdKKS5psG5XXuLt1a4W3YvCHtuwVEoAy7j9+DatT/N8ntzsVwZp6KxPocvXarpAXS6sq afSnz0f6qv7h+Az9PSmiFkFLY3ybQkJYs22zORe3f6V5/OslH8osMaJKfhkRV9WbiGAT lMhg== X-Gm-Message-State: AOAM533A5hTBLLTomu/pdV8r/6NqTP6JI1E+rR85tLbj1UF/UESdQT5K /ZtgfGyr2B/nwVNmILRQYx1JdKXOIOvRjmcwpI/RXg== X-Google-Smtp-Source: ABdhPJwYTcGc0D5rNfrdV4Cvntz/+wzusGWMlu5oNjCdECDFJ6zFPhSmR4f9M6zU9mLHnAAUQ1YB9S3CAql1a6MH6TA= X-Received: by 2002:a9d:4c97:: with SMTP id m23mr2969904otf.218.1600335454675; Thu, 17 Sep 2020 02:37:34 -0700 (PDT) MIME-Version: 1.0 References: <1599826919-5148-1-git-send-email-christophe.lyon@linaro.org> <44d8585a-5e25-dbeb-7dbe-cef16fa8374e@redhat.com> In-Reply-To: <44d8585a-5e25-dbeb-7dbe-cef16fa8374e@redhat.com> From: Christophe Lyon Date: Thu, 17 Sep 2020 11:37:23 +0200 Message-ID: Subject: Re: [PATCH] fixincludes/fixfixes.c: Fix 'set but not used' warning. To: Jeff Law Cc: gcc Patches , bkorb@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2020 09:37:36 -0000 On Thu, 17 Sep 2020 at 06:16, Jeff Law wrote: > > > On 9/11/20 6:21 AM, Christophe Lyon via Gcc-patches wrote: > > pz_tmp_base and pz_tmp_dot are always set, but used only when > > _PC_NAME_MAX is defined. > > > > This patch moves their declaration and definition undef #ifdef > > _PC_NAME_MAX to avoid this warning. > > > > 2020-09-11 Torbj=C3=B6rn SVENSSON > > Christophe Lyon > > > > fixincludes/ > > * fixfixes.c (pz_tmp_base, pz_tmp_dot): Define only with > > _PC_NAME_MAX. > > OK. I assume Christophe can commit the change. Sure, just pushed. Thanks Christophe > > > Jeff >