settings: Remove setting ID return from find_setting()

Now that all users have replaced setting IDs with direct pointers,
find_setting() and friends don't need to return an ID value.

Change-Id: I8c5c31bb68d3bca5350d43538335265a55fd5517
This commit is contained in:
Aidan MacDonald 2022-11-30 14:50:18 +00:00
parent 767ddef550
commit 701e262d3d
15 changed files with 56 additions and 67 deletions

View file

@ -428,7 +428,7 @@ static void do_opt_menu(void)
options.dirty=1; /* Assume that the settings have been changed */
struct viewport *parentvp = NULL;
const struct settings_list* vol = rb->find_setting(&rb->global_settings->volume, NULL);
const struct settings_list* vol = rb->find_setting(&rb->global_settings->volume);
while(!done)
{