forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
@@ -761,8 +761,9 @@ struct symbol *
|
||||
|
||||
extern void language_info ();
|
||||
|
||||
extern enum language set_language (enum language);
|
||||
|
||||
/* Set the current language to LANG. */
|
||||
|
||||
extern void set_language (enum language lang);
|
||||
|
||||
/* Test a character to decide whether it can be printed in literal form
|
||||
or needs to be printed in another representation. For example,
|
||||
|
||||
Reference in New Issue
Block a user