fix various compiler warnings and a few minor bugs

This commit is contained in:
unK
2008-10-05 00:26:02 +02:00
parent 5c7b7a04e1
commit f8727b0a10
11 changed files with 51 additions and 29 deletions

View File

@@ -126,13 +126,15 @@ void TraceMpdStatus()
case psPlay: case psPause:
changes.ElapsedTime = 1; // restore status
break;
default:
break;
}
NcmpcppStatusChanged(Mpd, changes, NULL);
}
//wHeader->WriteXY(0,1, IntoStr(now_playing), 1);
}
void NcmpcppErrorCallback(MPDConnection *Mpd, int errorid, string msg, void *data)
void NcmpcppErrorCallback(MPDConnection *Mpd, int errorid, string msg, void *)
{
if (errorid == MPD_ACK_ERROR_PERMISSION)
{
@@ -148,7 +150,7 @@ void NcmpcppErrorCallback(MPDConnection *Mpd, int errorid, string msg, void *dat
ShowMessage(msg);
}
void NcmpcppStatusChanged(MPDConnection *Mpd, MPDStatusChanges changed, void *data)
void NcmpcppStatusChanged(MPDConnection *Mpd, MPDStatusChanges changed, void *)
{
int sx, sy;
wFooter->DisableBB();