diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:44 -0700 |
commit | 3dd93bf837b10e01864d7d223ae9d3f9b92df74e (patch) | |
tree | 6f48c2db566069ae33c55e883994927dcc1b570c /ld/testsuite/ld-scripts/default-script2.d | |
parent | 9c79936b3df018166d53869f7f2bb2909f129e51 (diff) | |
download | binutils-3dd93bf837b10e01864d7d223ae9d3f9b92df74e.zip binutils-3dd93bf837b10e01864d7d223ae9d3f9b92df74e.tar.gz binutils-3dd93bf837b10e01864d7d223ae9d3f9b92df74e.tar.bz2 |
Remove some null checks
When not parsing for completion, parse_expression ensures that the
resulting expression has operations. This patch removes a couple of
unnecessary checks for this situation.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* printcmd.c (set_command): Remove null check.
* value.c (init_if_undefined_command): Remove null check.
Diffstat (limited to 'ld/testsuite/ld-scripts/default-script2.d')
0 files changed, 0 insertions, 0 deletions