diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index c9f7ece..f0088e3 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -525,8 +525,8 @@ cpp_options_init (opts) opts->cplusplus_comments = 1; opts->warn_import = 1; - opts->pending = (struct cpp_pending *) xmalloc (sizeof (struct cpp_pending)); - bzero ((char *) opts->pending, sizeof (struct cpp_pending)); + opts->pending = + (struct cpp_pending *) xcalloc (1, sizeof (struct cpp_pending)); } /* Initialize a cpp_reader structure. */ |