1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

fix unused parameter warning

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@913 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2007-08-10 21:08:09 +00:00
parent fc7c9b5fae
commit 69a3ce9b9a

View File

@ -306,7 +306,7 @@ void mpd_setConnectionTimeout(mpd_Connection * connection, float timeout) {
}
static int mpd_parseWelcome(mpd_Connection * connection, const char * host, int port,
char * rt, char * output) {
/*char * rt,*/ char * output) {
char * tmp;
char * test;
int i;
@ -409,7 +409,7 @@ mpd_Connection * mpd_newConnection(const char * host, int port, float timeout) {
strcpy(connection->buffer,rt+1);
connection->buflen = strlen(connection->buffer);
if(mpd_parseWelcome(connection,host,port,rt,output) == 0) connection->doneProcessing = 1;
if(mpd_parseWelcome(connection,host,port,/*rt,*/output) == 0) connection->doneProcessing = 1;
free(output);