[gdb/symtab] Replace TYPE_ALLOC + memset with TYPE_ZALLOC
authorTom de Vries <tdevries@suse.de>
Thu, 31 Aug 2023 07:37:44 +0000 (09:37 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 31 Aug 2023 07:37:44 +0000 (09:37 +0200)
commit34c9386e218c8e981747412a7c4d1066d7e62f06
tree5e414b2ccc324689688177d38c9c020602d24513
parent4b3d893ac8bb787ff229a9f765a771903c760b97
[gdb/symtab] Replace TYPE_ALLOC + memset with TYPE_ZALLOC

I noticed a case of TYPE_ALLOC followed by memset.

Replace this with TYPE_ZALLOC.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/stabsread.c