aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/maxtrax.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-07-06 18:15:50 +0000
committerTorbjörn Andersson2009-07-06 18:15:50 +0000
commit7c155f87472c550f4bd2494fe31d599dfeb7058c (patch)
tree46e50c5a9ad7c20eb39ad13848a0d57c3c59a90d /sound/mods/maxtrax.h
parente9a480062984189c3ab33212dda34ce3db469acd (diff)
downloadscummvm-rg350-7c155f87472c550f4bd2494fe31d599dfeb7058c.tar.gz
scummvm-rg350-7c155f87472c550f4bd2494fe31d599dfeb7058c.tar.bz2
scummvm-rg350-7c155f87472c550f4bd2494fe31d599dfeb7058c.zip
GCC thinks it's wrong to goto past variables being initialised (even if they
aren't used afterwards). Fixed that, and some warnings. svn-id: r42187
Diffstat (limited to 'sound/mods/maxtrax.h')
-rw-r--r--sound/mods/maxtrax.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/mods/maxtrax.h b/sound/mods/maxtrax.h
index bb1244d53a..4055c750aa 100644
--- a/sound/mods/maxtrax.h
+++ b/sound/mods/maxtrax.h
@@ -217,8 +217,8 @@ public:
static void outPutEvent(const Event &ev, int num = -1) {
struct {
byte cmd;
- char *name;
- char *param;
+ const char *name;
+ const char *param;
} COMMANDS[] = {
{0x80, "TEMPO ", "TEMPO, N/A "},
{0xa0, "SPECIAL ", "CHAN, SPEC # | VAL"},
@@ -253,4 +253,4 @@ public:
};
} // End of namespace Audio
-#endif \ No newline at end of file
+#endif