diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-07 17:55:07 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-07 17:55:07 +0000 |
commit | 0e9b4e746539d6df7de6212cc43f566b48b20a2d (patch) | |
tree | 19dc2cc7322d36f6899efcd2e24c938b87f989ee /gcc/c-opts.c | |
parent | 918ee5061560bfd815809c17679345559229d7d2 (diff) | |
download | gcc-0e9b4e746539d6df7de6212cc43f566b48b20a2d.tar.gz |
Separate NUL byte detection from rest of -Wformat warnings
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123640 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index b3878ea1b55..2130c7d7e75 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -1106,6 +1106,8 @@ c_common_post_options (const char **pfilename) "-Wformat-zero-length ignored without -Wformat"); warning (OPT_Wformat_nonliteral, "-Wformat-nonliteral ignored without -Wformat"); + warning (OPT_Wformat_contains_nul, + "-Wformat-contains-nul ignored without -Wformat"); warning (OPT_Wformat_security, "-Wformat-security ignored without -Wformat"); } |