Fix warning in symtab.c
authorTom Tromey <tom@tromey.com>
Mon, 5 Jul 2021 17:44:54 +0000 (11:44 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 5 Jul 2021 17:54:03 +0000 (11:54 -0600)
commitb6aeb717a8bdaa9cc348ec88a5fdf059e1337580
treef518533f1671bde5ddc10dd9a2176965b45df233
parent918172470430ea6fa082c941e6789add88331197
Fix warning in symtab.c

The compiler gives this warning when building symtab.c:

../../binutils-gdb/gdb/symtab.c:4247:28: warning: 'to_match' may be used uninitialized in this function [-Wmaybe-uninitialized]

This patch fixes the warning by adding a gdb_assert_not_reached.
gdb/symtab.c