AMIGAOS: Fix CAMD compiler warning

This commit is contained in:
Hubert Maier 2011-04-29 14:05:21 +03:00 committed by Ori Avtalion
parent 5dd3c24238
commit 79b45cf535

View File

@ -137,8 +137,8 @@ void MidiDriver_CAMD::sysEx(const byte *msg, uint16 length) {
char *MidiDriver_CAMD::getDevice() {
char *retname = NULL;
APTR key;
if (key = _ICamd->LockCAMD(CD_Linkages)) {
APTR key = _ICamd->LockCAMD(CD_Linkages);
if (key != NULL) {
struct MidiCluster *cluster = _ICamd->NextCluster(NULL);
while (cluster && !retname) {