aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r--gcc/cp/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 9fbd8a7..9717ce0 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -2650,7 +2650,7 @@ cp_tree_printer (buffer)
int be_verbose = 0;
tree_formatting_info tfi;
- bzero (&tfi, sizeof (tree_formatting_info));
+ memset (&tfi, 0, sizeof (tree_formatting_info));
if (*output_buffer_text_cursor (buffer) == '+')
++output_buffer_text_cursor (buffer);