aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/call.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-06-30 23:28:02 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-06-30 23:28:02 +0100
commit9980154889a2bfd00c0c76176595948768be1487 (patch)
tree6edd9cc7bd8414f96db728a2727a2fae85c58700 /gcc/cp/call.c
parenta6163c2238f5e27c5063727e75518de1e389bd04 (diff)
downloadgcc-9980154889a2bfd00c0c76176595948768be1487.zip
gcc-9980154889a2bfd00c0c76176595948768be1487.tar.gz
gcc-9980154889a2bfd00c0c76176595948768be1487.tar.bz2
c-common.h (check_function_format): Remove first parameter.
* c-common.h (check_function_format): Remove first parameter. * c-format.c (format_check_context): Remove status. (check_format_info, check_format_info_main, maybe_read_dollar_number, avoid_dollar_number, finish_dollar_format_checking, check_format_types, check_function_format): Remove first parameter. Don't use status_warning. (check_format_arg): Don't use status_warning. (status_warning): Remove. * c-common.c (check_function_arguments): Update call to check_function_format. cp: * call.c (build_over_call), typeck.c (build_function_call): Update calls to check_function_format. From-SVN: r83935
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r--gcc/cp/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 99603ea..290fd6b 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -4724,7 +4724,7 @@ build_over_call (struct z_candidate *cand, int flags)
converted_args = nreverse (converted_args);
if (warn_format)
- check_function_format (NULL, TYPE_ATTRIBUTES (TREE_TYPE (fn)),
+ check_function_format (TYPE_ATTRIBUTES (TREE_TYPE (fn)),
converted_args);
/* Avoid actually calling copy constructors and copy assignment operators,