mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
don't assign NULL to a long (fixes sim build warnings)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3b52bb9c68
commit
ed70da26bd
5 changed files with 205 additions and 205 deletions
|
@ -57,8 +57,8 @@ static bool volume(void)
|
|||
static bool shuffle(void)
|
||||
{
|
||||
struct opt_items names[] = {
|
||||
{"No", NULL},
|
||||
{"Yes", NULL}
|
||||
{"No", 0},
|
||||
{"Yes", 0}
|
||||
};
|
||||
return api->set_option("Shuffle", &api->global_settings->playlist_shuffle,
|
||||
BOOL, names, 2,NULL);
|
||||
|
@ -68,12 +68,12 @@ static bool repeat_mode(void)
|
|||
{
|
||||
bool result;
|
||||
static const struct opt_items names[] = {
|
||||
{ "Off", NULL },
|
||||
{ "Repeat All", NULL },
|
||||
{ "Repeat One", NULL },
|
||||
{ "Repeat Shuffle", NULL },
|
||||
{ "Off", 0 },
|
||||
{ "Repeat All", 0 },
|
||||
{ "Repeat One", 0 },
|
||||
{ "Repeat Shuffle", 0 },
|
||||
#ifdef AB_REPEAT_ENABLE
|
||||
{ "Repeat A-B", NULL }
|
||||
{ "Repeat A-B", 0 }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue