diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-30 14:50:18 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-17 13:36:38 +0000 |
commit | 701e262d3d622898279167ba909da631ac460bc1 (patch) | |
tree | 763be2f80bd12dde2b6c743a023ad331959d891b /apps/plugins/xworld/sys.c | |
parent | 767ddef550ec193c087064291b78d0e1db5e8fb0 (diff) | |
download | rockbox-701e262d3d622898279167ba909da631ac460bc1.tar.gz rockbox-701e262d3d622898279167ba909da631ac460bc1.zip |
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
Diffstat (limited to 'apps/plugins/xworld/sys.c')
-rw-r--r-- | apps/plugins/xworld/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xworld/sys.c b/apps/plugins/xworld/sys.c index ece9d87b66..e20322258d 100644 --- a/apps/plugins/xworld/sys.c +++ b/apps/plugins/xworld/sys.c | |||
@@ -286,7 +286,7 @@ static void do_sound_settings(struct System* sys) | |||
286 | case 2: | 286 | case 2: |
287 | { | 287 | { |
288 | const struct settings_list* vol = | 288 | const struct settings_list* vol = |
289 | rb->find_setting(&rb->global_settings->volume, NULL); | 289 | rb->find_setting(&rb->global_settings->volume); |
290 | rb->option_screen((struct settings_list*)vol, NULL, false, "Volume"); | 290 | rb->option_screen((struct settings_list*)vol, NULL, false, "Volume"); |
291 | break; | 291 | break; |
292 | } | 292 | } |