Fixed sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7352 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
670abf99ae
commit
49483bc488
1 changed files with 2 additions and 0 deletions
|
@ -343,6 +343,8 @@ bool settings_parseline(char* line, char** name, char** value)
|
|||
static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
||||
{
|
||||
#ifdef SIMULATOR
|
||||
(void)callback;
|
||||
(void)parameter;
|
||||
exit(0);
|
||||
#else
|
||||
#ifndef HAVE_POWEROFF_WHILE_CHARGING
|
||||
|
|
Loading…
Reference in a new issue