]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
docs: fix copy&paste error in -Wanalyzer-putenv-of-auto-var
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 1 Aug 2022 23:30:15 +0000 (19:30 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 1 Aug 2022 23:30:15 +0000 (19:30 -0400)
gcc/ChangeLog:
* doc/invoke.texi (-Wanalyzer-putenv-of-auto-var): Fix copy&paste
error.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/doc/invoke.texi

index e8cd60103e4f537d06f5e1018c0feb7f14164e56..863580b3710aa592d64d286cae39fbfc3a7f6007 100644 (file)
@@ -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