value.c: Remove unused variables
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 17 May 2018 13:52:08 +0000 (09:52 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 17 May 2018 13:52:08 +0000 (09:52 -0400)
commit3e6188349fbf16e9da69837e5e1211537805e422
tree92f29518cbe19ca0e887df33ff55811154f53012
parentfe10fe3131e688d528877706db1e98e15434c0dc
value.c: Remove unused variables

Obvious patch to remove unused local variables (found by adding
-Wunused).  I didn't touch this one in value_fetch_lazy, because
check_typedef could have a desired side-effect.

  3743  struct type *type = check_typedef (value_type (val));

gdb/ChangeLog:

* value.c (release_value): Remove unused variable.
(record_latest_value): Likewise.
(access_value_history): Likewise.
(preserve_values): Likewise.
gdb/ChangeLog
gdb/value.c