From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id B73F63857357; Tue, 10 May 2022 18:19:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B73F63857357 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] stdlib: Remove GCC pragma diagnostic X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: be9fb8614aa386f15fa71e6ed5da3a540edcbd7f X-Git-Newrev: 81f4a628f75dc4f3c4e8efcbfcb1b47344675f2b Message-Id: <20220510181908.B73F63857357@sourceware.org> Date: Tue, 10 May 2022 18:19:08 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2022 18:19:08 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=81f4a628f75dc4f3c4e8efcbfcb1b47344675f2b commit 81f4a628f75dc4f3c4e8efcbfcb1b47344675f2b Author: Adhemerval Zanella Date: Tue Mar 8 17:37:11 2022 -0300 stdlib: Remove GCC pragma diagnostic Diff: --- stdlib/setenv.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/stdlib/setenv.c b/stdlib/setenv.c index 2176cbac31..f7138e3263 100644 --- a/stdlib/setenv.c +++ b/stdlib/setenv.c @@ -19,13 +19,6 @@ # include #endif -/* Pacify GCC; see the commentary about VALLEN below. This is needed - at least through GCC 4.9.2. Pacify GCC for the entire file, as - there seems to be no way to pacify GCC selectively, only for the - place where it's needed. Do not use DIAG_IGNORE_NEEDS_COMMENT - here, as it's not defined yet. */ -#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" - #include #if !_LIBC # if !defined errno && !defined HAVE_ERRNO_DECL