diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-07 05:43:49 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-07 05:43:49 +0000 |
| commit | 8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4 (patch) | |
| tree | 28e7c461ca3d50bff1628699247d35c3d0a9d5c9 | |
| parent | d7f94393533a47597e3786b2687877f2b601b3d4 (diff) | |
| download | rockbox-8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4.zip rockbox-8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4.tar.gz rockbox-8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4.tar.bz2 rockbox-8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4.tar.xz | |
Removed dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7048 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/settings_menu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 0889de7..249da8a 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -836,16 +836,8 @@ static bool battery_type(void) static bool timedate_set(void) { struct tm tm; - int timedate[8]; bool result; - timedate[0] = rtc_read(0x03); /* hour */ - timedate[1] = rtc_read(0x02); /* minute */ - timedate[2] = rtc_read(0x01); /* second */ - timedate[3] = rtc_read(0x07); /* year */ - timedate[4] = rtc_read(0x06); /* month */ - timedate[5] = rtc_read(0x05); /* day */ - /* Make a local copy of the time struct */ memcpy(&tm, get_time(), sizeof(struct tm)); |