diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-30 15:17:54 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-17 13:36:38 +0000 |
commit | 6c52fa139c5ad8f78ed4fdb306a6074228dbf4c9 (patch) | |
tree | 9d51172c8860a72e5081dc2706dd30f4dd295427 /apps/plugin.c | |
parent | 701e262d3d622898279167ba909da631ac460bc1 (diff) | |
download | rockbox-6c52fa139c5ad8f78ed4fdb306a6074228dbf4c9.tar.gz rockbox-6c52fa139c5ad8f78ed4fdb306a6074228dbf4c9.zip |
Remove browse_context_init()
Prefer to use designated initializers to avoid having to specify
unneeded parameters. Non-initialized members are zero-initialized
by the compiler.
Change-Id: Ia6a03c45cb3ef0b30f458d7d0ae1604a350c737c
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index feba0f2cfc..1cf4d37b2b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -429,7 +429,6 @@ static const struct plugin_api rockbox_api = { | |||
429 | dir_get_info, | 429 | dir_get_info, |
430 | 430 | ||
431 | /* browsing */ | 431 | /* browsing */ |
432 | browse_context_init, | ||
433 | rockbox_browse, | 432 | rockbox_browse, |
434 | tree_get_context, | 433 | tree_get_context, |
435 | tree_get_entries, | 434 | tree_get_entries, |