# HG changeset patch # User diego # Date 1277116005 0 # Node ID ce2892e4d7a837f1308340c6549cefe06be594d7 # Parent 6f152da622428ae686cc8e56f39baac9f376a1ca Remove unused static function cddb_get_freedb_sites(), fixes the warning: stream/stream_cddb.c:747: warning: 'cddb_get_freedb_sites' defined but not used diff -r 6f152da62242 -r ce2892e4d7a8 stream/stream_cddb.c --- a/stream/stream_cddb.c Mon Jun 21 10:20:17 2010 +0000 +++ b/stream/stream_cddb.c Mon Jun 21 10:26:45 2010 +0000 @@ -743,11 +743,6 @@ return -1; } -static int cddb_get_freedb_sites(cddb_data_t *cddb_data) -{ - return cddb_http_request("sites", cddb_freedb_sites_parse, cddb_data); -} - static void cddb_create_hello(cddb_data_t *cddb_data) { char host_name[51]; @@ -797,8 +792,6 @@ return -1; } - //cddb_get_freedb_sites(&cddb_data); - sprintf(command, "cddb+query+%08lx+%d+%s%d", cddb_data->disc_id, cddb_data->tracks, offsets, time_len); ret = cddb_http_request(command, cddb_query_parse, cddb_data);