diff options
author | Tom Tromey <tom@tromey.com> | 2020-11-25 10:19:40 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-11-25 10:19:40 -0700 |
commit | cbfa382abb360307c0c6b750e4c550a0d2b702d6 (patch) | |
tree | 86e4abe21ae6b7aa3a7916d9f96714bc68e1e5a1 /libctf/ctf-dump.c | |
parent | af30c400ea2ae16742ce194f0490fec4170320d5 (diff) | |
download | binutils-cbfa382abb360307c0c6b750e4c550a0d2b702d6.zip binutils-cbfa382abb360307c0c6b750e4c550a0d2b702d6.tar.gz binutils-cbfa382abb360307c0c6b750e4c550a0d2b702d6.tar.bz2 |
Remove two unnecessary variables from evaluate_subexp_standard
I noticed a couple of spots in evaluate_subexp_standard that looked
like:
value *result;
result = something;
return result;
This patch simplifies these spots to a simple "return".
gdb/ChangeLog
2020-11-25 Tom Tromey <tom@tromey.com>
* eval.c (evaluate_subexp_standard): Remove unnecessary
variables.
Diffstat (limited to 'libctf/ctf-dump.c')
0 files changed, 0 insertions, 0 deletions