Fixed sim warning

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7352 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-08-18 14:46:35 +00:00
parent 670abf99ae
commit 49483bc488

View file

@ -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