gdb: remove unnecessary nullptr check in free_objfile observers
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Oct 2023 02:20:22 +0000 (22:20 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 5 Oct 2023 17:20:50 +0000 (13:20 -0400)
commite0322c6a7b99dcb2096585ab39268502802e90d7
treeefb904dd45a28cec767be7f7abdeb2402f7d960a
parent74daa597e743462d272522512efbe3f65659c4c0
gdb: remove unnecessary nullptr check in free_objfile observers

The free_objfile observable is never called with a nullptr objfile.

Change-Id: I1e990edeb45bc38009ccb129c623911097ab65fe
Approved-By: Tom Tromey <tom@tromey.com>
gdb/breakpoint.c
gdb/printcmd.c
gdb/symfile.c