aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2003-05-20 14:08:33 +0000
committerMax Horn2003-05-20 14:08:33 +0000
commitfc7806b80d7dcae7a58b01d28e272369ef83f6d7 (patch)
tree4997f84d90d1a82ea52706788668e564a434892e /backends
parentc35ff13a6d9ae2335a3ef82ed7303f0600642024 (diff)
downloadscummvm-rg350-fc7806b80d7dcae7a58b01d28e272369ef83f6d7.tar.gz
scummvm-rg350-fc7806b80d7dcae7a58b01d28e272369ef83f6d7.tar.bz2
scummvm-rg350-fc7806b80d7dcae7a58b01d28e272369ef83f6d7.zip
more memoy init fixes
svn-id: r7725
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp
index dbe60235f5..5e32d0496d 100644
--- a/backends/midi/adlib.cpp
+++ b/backends/midi/adlib.cpp
@@ -174,7 +174,7 @@ struct AdlibVoice {
Struct10 _s10b;
Struct11 _s11b;
- AdlibVoice() : _part (0), _next(0), _prev(0) {}
+ AdlibVoice() { memset(this, 0, sizeof(AdlibVoice)); }
};
struct AdlibSetParams {