summaryrefslogtreecommitdiff
path: root/plugins/cdda/cdda.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-03 18:34:13 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-03 18:34:13 +0100
commitfa519319f3c31f7ca63740c953c35dd4dc9e4b4a (patch)
tree6ef9ed18d2db6c3a989d81f65f84c999c4b5e602 /plugins/cdda/cdda.c
parentde5bcbefc5817688baa32f85d7940ea8f41ba6e8 (diff)
compiler warning cleanup
Diffstat (limited to 'plugins/cdda/cdda.c')
-rw-r--r--plugins/cdda/cdda.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/cdda/cdda.c b/plugins/cdda/cdda.c
index 63b3edde..6137e37e 100644
--- a/plugins/cdda/cdda.c
+++ b/plugins/cdda/cdda.c
@@ -66,16 +66,6 @@ min (int a, int b) {
return a < b ? a : b;
}
-static char*
-trim (char* s)
-{
- char *h, *t;
-
- for ( h = s; *h == ' ' || *h == '\t'; h++ );
- for ( t = s + strlen(s); *t == ' ' || *t == '\t'; *t = 0, t-- );
- return h;
-}
-
static int
cda_init (DB_playItem_t *it) {
// trace ("CDA: initing %s\n", it->fname);
@@ -122,7 +112,6 @@ cda_init (DB_playItem_t *it) {
int
cda_read_int16 (char *bytes, int size) {
- int initsize = size;
int extrasize = 0;
if (tail_len > 0)
@@ -298,7 +287,6 @@ cddb_thread (void *items_i)
{
struct cddb_thread_params *params = (struct cddb_thread_params*)items_i;
DB_playItem_t **items = params->items;
- DB_playItem_t *item;
trace ("calling resolve_disc\n");
deadbeef->mutex_lock (mutex);
@@ -349,10 +337,8 @@ static DB_playItem_t *
cda_insert (DB_playItem_t *after, const char *fname) {
// trace ("CDA insert: %s\n", fname);
- int all = 0;
int track_nr;
DB_playItem_t *res;
- CdIo_t *cdio; //we need its local inst
const char* shortname = strrchr (fname, '/');
if (shortname) {