summaryrefslogtreecommitdiff
path: root/apps/shortcuts.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-11-30 14:50:18 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-12-17 13:36:38 +0000
commit701e262d3d622898279167ba909da631ac460bc1 (patch)
tree763be2f80bd12dde2b6c743a023ad331959d891b /apps/shortcuts.c
parent767ddef550ec193c087064291b78d0e1db5e8fb0 (diff)
downloadrockbox-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/shortcuts.c')
-rw-r--r--apps/shortcuts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c
index cf372ce023..82e4a359bf 100644
--- a/apps/shortcuts.c
+++ b/apps/shortcuts.c
@@ -342,7 +342,7 @@ static int readline_cb(int n, char *buf, void *parameters)
342 strmemccpy(sc->u.path, value, MAX_PATH); 342 strmemccpy(sc->u.path, value, MAX_PATH);
343 break; 343 break;
344 case SHORTCUT_SETTING: 344 case SHORTCUT_SETTING:
345 sc->u.setting = find_setting_by_cfgname(value, NULL); 345 sc->u.setting = find_setting_by_cfgname(value);
346 break; 346 break;
347 case SHORTCUT_TIME: 347 case SHORTCUT_TIME:
348#if CONFIG_RTC 348#if CONFIG_RTC