From 7c155f87472c550f4bd2494fe31d599dfeb7058c Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 6 Jul 2009 18:15:50 +0000 Subject: 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 --- sound/mods/maxtrax.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sound/mods/maxtrax.h') 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 -- cgit v1.2.3