mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
AMIGAOS: Fix CAMD compiler warning
This commit is contained in:
parent
5dd3c24238
commit
79b45cf535
@ -137,8 +137,8 @@ void MidiDriver_CAMD::sysEx(const byte *msg, uint16 length) {
|
|||||||
char *MidiDriver_CAMD::getDevice() {
|
char *MidiDriver_CAMD::getDevice() {
|
||||||
char *retname = NULL;
|
char *retname = NULL;
|
||||||
|
|
||||||
APTR key;
|
APTR key = _ICamd->LockCAMD(CD_Linkages);
|
||||||
if (key = _ICamd->LockCAMD(CD_Linkages)) {
|
if (key != NULL) {
|
||||||
struct MidiCluster *cluster = _ICamd->NextCluster(NULL);
|
struct MidiCluster *cluster = _ICamd->NextCluster(NULL);
|
||||||
|
|
||||||
while (cluster && !retname) {
|
while (cluster && !retname) {
|
||||||
|
Loading…
Reference in New Issue
Block a user