aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-util.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-11-25 10:19:40 -0700
committerTom Tromey <tom@tromey.com>2020-11-25 10:19:40 -0700
commitcbfa382abb360307c0c6b750e4c550a0d2b702d6 (patch)
tree86e4abe21ae6b7aa3a7916d9f96714bc68e1e5a1 /libctf/ctf-util.c
parentaf30c400ea2ae16742ce194f0490fec4170320d5 (diff)
downloadgdb-cbfa382abb360307c0c6b750e4c550a0d2b702d6.zip
gdb-cbfa382abb360307c0c6b750e4c550a0d2b702d6.tar.gz
gdb-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-util.c')
0 files changed, 0 insertions, 0 deletions