[MPlayer-cvslog] r31508 - trunk/stream/stream_cddb.c

diego subversion at mplayerhq.hu
Mon Jun 21 12:26:45 CEST 2010


Author: diego
Date: Mon Jun 21 12:26:45 2010
New Revision: 31508

Log:
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

Modified:
   trunk/stream/stream_cddb.c

Modified: trunk/stream/stream_cddb.c
==============================================================================
--- trunk/stream/stream_cddb.c	Mon Jun 21 12:20:17 2010	(r31507)
+++ trunk/stream/stream_cddb.c	Mon Jun 21 12:26:45 2010	(r31508)
@@ -743,11 +743,6 @@ static int cddb_freedb_sites_parse(HTTP_
     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 @@ static int cddb_retrieve(cddb_data_t *cd
         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);


More information about the MPlayer-cvslog mailing list