diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-01-31 19:41:29 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-01-31 19:41:29 +0000 |
commit | 91948d12aa76645fefe817931d64145196140430 (patch) | |
tree | 5a7c73b30b30f2c3f90ab0f554d3ef2692ee8018 /apps/cuesheet.c | |
parent | 31c8eee99d7917bf83bbc6cf4cb9579af10d4d42 (diff) |
FS#9638 - temp_cue is unused and wasting memory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19890 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/cuesheet.c')
-rw-r--r-- | apps/cuesheet.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c index 4b3f5e9bc4..0a7521bbc5 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c @@ -45,7 +45,6 @@ #define CUE_DIR ROCKBOX_DIR "/cue" struct cuesheet *curr_cue; -struct cuesheet *temp_cue; #if CONFIG_CODEC != SWCODEC /* special trickery because the hwcodec playback engine is in firmware/ */ @@ -59,13 +58,11 @@ void cuesheet_init(void) { if (global_settings.cuesheet) { curr_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet)); - temp_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet)); #if CONFIG_CODEC != SWCODEC audio_set_cuesheet_callback(cuesheet_handler); #endif } else { curr_cue = NULL; - temp_cue = NULL; } } |