install_variable cannot fail
authorTom Tromey <tom@tromey.com>
Fri, 11 Dec 2020 16:33:36 +0000 (09:33 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 11 Dec 2020 16:33:42 +0000 (09:33 -0700)
commit07d9937a201b2ff66b4ca98eac70581fd17c1aa0
treec60008a2ceff63010174a85481a2318d80dc6b85
parent1345dee2805220742355b331934c2cdedf7669c6
install_variable cannot fail

I noticed that install_variable will never return false, so this patch
changes the return type to void.  I couldn't find a spot in history
where it did return false, maybe it's always been like this.

gdb/ChangeLog
2020-12-11  Tom Tromey  <tom@tromey.com>

* varobj.c (varobj_create): Update.
(install_variable): Return void.
gdb/ChangeLog
gdb/varobj.c