gdb: remove unnecessary cmd_list_element::aliases nullptr checks
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 31 Oct 2021 14:58:47 +0000 (10:58 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 4 Nov 2021 19:40:44 +0000 (15:40 -0400)
commit143f5a3837c4a61b76c6d0c7023bece11f966daa
tree63b19f2d7d618e4d5dcbf56890d6a15a7ac82afd
parent6c130ba387aa3533712e2ea31cd212ac2e269f61
gdb: remove unnecessary cmd_list_element::aliases nullptr checks

Remove two unnecessary nullptr checks.  If aliases is nullptr, then the
for loops will simply be skipped.

Change-Id: I9132063bb17798391f8d019af305383fa8e0229f
gdb/cli/cli-decode.c