summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-21 08:25:46 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-21 08:25:46 +0000
commit7c339c937a619158f5e6a90d08c6830756fe9f47 (patch)
treee0f5ac8036efda7f67bb781aec72703a6fc99360
parentaa01ee314e5505d1c640951db57505626defba1b (diff)
downloadrockbox-7c339c937a619158f5e6a90d08c6830756fe9f47.tar.gz
rockbox-7c339c937a619158f5e6a90d08c6830756fe9f47.zip
parse_sap_header(): remove write-only variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28132 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/metadata/asap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/metadata/asap.c b/apps/metadata/asap.c
index 61f651b995..0472798462 100644
--- a/apps/metadata/asap.c
+++ b/apps/metadata/asap.c
@@ -135,7 +135,6 @@ static bool parse_sap_header(int fd, struct mp3entry* id3, int file_len)
135 /* set defaults */ 135 /* set defaults */
136 int numSongs = 1; 136 int numSongs = 1;
137 int defSong = 0; 137 int defSong = 0;
138 int numChannels = 1;
139 int durations[MAX_SONGS]; 138 int durations[MAX_SONGS];
140 for (i = 0; i < MAX_SONGS; i++) 139 for (i = 0; i < MAX_SONGS; i++)
141 durations[i] = -1; 140 durations[i] = -1;
@@ -213,10 +212,6 @@ static bool parse_sap_header(int fd, struct mp3entry* id3, int file_len)
213 if (parse_dec(&defSong, p, 0, MAX_SONGS) == false) 212 if (parse_dec(&defSong, p, 0, MAX_SONGS) == false)
214 return false; 213 return false;
215 } 214 }
216 else if (strcmp(line, "STEREO") == 0)
217 {
218 numChannels = 2;
219 }
220 else if (strcmp(line, "TIME") == 0) 215 else if (strcmp(line, "TIME") == 0)
221 { 216 {
222 int durationTemp = ASAP_ParseDuration(p); 217 int durationTemp = ASAP_ParseDuration(p);