[Scummvm-cvs-logs] scummvm master -> 79b45cf53500297e1365d78612ce7e4d1d18e204
salty-horse
ori at avtalion.name
Fri Apr 29 13:10:38 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
79b45cf535 AMIGAOS: Fix CAMD compiler warning
Commit: 79b45cf53500297e1365d78612ce7e4d1d18e204
https://github.com/scummvm/scummvm/commit/79b45cf53500297e1365d78612ce7e4d1d18e204
Author: Hubert Maier (raziel_nosgoth at web.de)
Date: 2011-04-29T04:08:49-07:00
Commit Message:
AMIGAOS: Fix CAMD compiler warning
Changed paths:
backends/midi/camd.cpp
diff --git a/backends/midi/camd.cpp b/backends/midi/camd.cpp
index 9909cb0..cc791cf 100644
--- a/backends/midi/camd.cpp
+++ b/backends/midi/camd.cpp
@@ -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) {
More information about the Scummvm-git-logs
mailing list