gdb: remove return value of set_language
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 14 Apr 2023 18:31:44 +0000 (14:31 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 21 Apr 2023 18:09:42 +0000 (14:09 -0400)
commit6fc39605e69e5c4d76990e2cf4eaf5d294195ca1
tree6ada0dacfd7889b81a7d9dc76ca7624f27cd3697
parentbd648c6ea00365af709bd54a0171e0a30f4a4942
gdb: remove return value of set_language

set_language returns the previous language, but nothing uses it.  Remove
the return value.  This lets us remove the assignment to
current_language, in _initialize_language.

Change-Id: Ifccf9b488434c1addf4626130a74e159a37d8c17
Reviewed-By: Tom Tromey <tom@tromey.com>
gdb/language.c
gdb/language.h