]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add initializers to field_of_this_result
authorTom Tromey <tromey@adacore.com>
Wed, 14 May 2025 13:59:16 +0000 (07:59 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 14 May 2025 15:14:24 +0000 (09:14 -0600)
commit9f400a2f15c4892537727f75acb5e3b463aa0ea3
tree8b69fc246c66ed442caca0180e5aca6636931d1f
parent475799b692ebc46cfb938028c1cba6792dd5d23f
Add initializers to field_of_this_result

This adds initializers to field_of_this_result, so that certain spots
don't have to memset it.  This approach seems safer and cleaner.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/c-exp.y
gdb/symtab.c
gdb/symtab.h