From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2209) id 44C3D3858028; Mon, 1 Aug 2022 23:32:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44C3D3858028 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: David Malcolm To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-1921] docs: fix copy&paste error in -Wanalyzer-putenv-of-auto-var X-Act-Checkin: gcc X-Git-Author: David Malcolm X-Git-Refname: refs/heads/master X-Git-Oldrev: 96e5f6696a1fa90493c464884984e9f1de86d817 X-Git-Newrev: ffd12be1394a49b734c51d2fee60584c66ff2f05 Message-Id: <20220801233204.44C3D3858028@sourceware.org> Date: Mon, 1 Aug 2022 23:32:04 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2022 23:32:04 -0000 https://gcc.gnu.org/g:ffd12be1394a49b734c51d2fee60584c66ff2f05 commit r13-1921-gffd12be1394a49b734c51d2fee60584c66ff2f05 Author: David Malcolm Date: Mon Aug 1 19:30:15 2022 -0400 docs: fix copy&paste error in -Wanalyzer-putenv-of-auto-var gcc/ChangeLog: * doc/invoke.texi (-Wanalyzer-putenv-of-auto-var): Fix copy&paste error. Signed-off-by: David Malcolm Diff: --- gcc/doc/invoke.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e8cd60103e4..863580b3710 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -10023,7 +10023,7 @@ See @uref{https://cwe.mitre.org/data/definitions/476.html, CWE-476: NULL Pointer @opindex Wanalyzer-putenv-of-auto-var @opindex Wno-analyzer-putenv-of-auto-var This warning requires @option{-fanalyzer}, which enables it; use -@option{-Wno-analyzer-possible-null-dereference} to disable it. +@option{-Wno-analyzer-putenv-of-auto-var} to disable it. This diagnostic warns for paths through the code in which a call to @code{putenv} is passed a pointer to an automatic variable