diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-12-03 16:35:37 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-12-07 15:58:54 -0500 |
commit | 9931e521bf3a057cc2770eb92906c2ae38335c5a (patch) | |
tree | 6f4ab63aca4f8f6a9a011d8f478406d39dc6e1af /sim/m32c | |
parent | c32ce0dc6cc1e52aad728e915396c43a2c55850c (diff) | |
download | binutils-9931e521bf3a057cc2770eb92906c2ae38335c5a.zip binutils-9931e521bf3a057cc2770eb92906c2ae38335c5a.tar.gz binutils-9931e521bf3a057cc2770eb92906c2ae38335c5a.tar.bz2 |
gdb/linespec.c: simplify condition
We can remove the empty check: if the vector has size 1, it is obviously
not empty. This code ended up like this because the empty check used to
be a NULL check.
Change-Id: I1571bd0228818ca93f6a6b444e9b010dc2da4c08
Diffstat (limited to 'sim/m32c')
0 files changed, 0 insertions, 0 deletions