]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Cleanup value_fetch_lazy's comment and return value
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 6 Jul 2015 17:04:11 +0000 (13:04 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 6 Jul 2015 17:04:11 +0000 (13:04 -0400)
commita844296a982bdff7c14dab355de0fca75486add6
treea195704067eff26020a86fbeb30bcc7cffb6762e
parentf41cbf58f4af65e8612585c45208f3690a39ea28
Cleanup value_fetch_lazy's comment and return value

The comment for value_fetch_lazy seems outdated. It says that it's only
called from the value_contents and value_contents_all (macros!), which
is not true.  Also, the return value seems useless now, despite what the
comment says.

gdb/ChangeLog:

* value.c (value_fetch_lazy): Update comment, change return
value to void.
* value.h (value_fetch_lazy): Change return value to void.
gdb/ChangeLog
gdb/value.c
gdb/value.h