aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c3bc276..6dc80be 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-14 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * doc/invoke.texi ([Wformat-zero-length]): Tidy.
+
2011-10-14 Jakub Jelinek <jakub@redhat.com>
* gimple.c (walk_stmt_load_store_addr_ops): Call visit_addr
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index dcdae47..d374db4 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3190,7 +3190,7 @@ in the case of @code{scanf} formats, this option will suppress the
warning if the unused arguments are all pointers, since the Single
Unix Specification says that such unused arguments are allowed.
-@item -Wno-format-zero-length @r{(C, C++, Objective-C and Objective-C++ only)}
+@item -Wno-format-zero-length
@opindex Wno-format-zero-length
@opindex Wformat-zero-length
If @option{-Wformat} is specified, do not warn about zero-length formats.