aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2008-12-12 04:52:37 +0000
committerNicola Mettifogo2008-12-12 04:52:37 +0000
commit7e7d5c68edf2e65bc7964a40144d0b94ab95161d (patch)
tree406fb09e9fc0c147e68a429bd8e8c74a09f396c4 /engines
parentfa07cfe7c6ca928a7ad6bcf4d9e8f2e74de749f4 (diff)
downloadscummvm-rg350-7e7d5c68edf2e65bc7964a40144d0b94ab95161d.tar.gz
scummvm-rg350-7e7d5c68edf2e65bc7964a40144d0b94ab95161d.tar.bz2
scummvm-rg350-7e7d5c68edf2e65bc7964a40144d0b94ab95161d.zip
Initialised variables to silence lots of valgrind's warnings.
svn-id: r35312
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/disk_br.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp
index 4b7de5c817..45ef34e046 100644
--- a/engines/parallaction/disk_br.cpp
+++ b/engines/parallaction/disk_br.cpp
@@ -53,7 +53,7 @@ struct Sprites : public Frames {
uint16 _num;
Sprite* _sprites;
- Sprites(uint num) {
+ Sprites(uint num) : _num(0), _sprites(0) {
_num = num;
_sprites = new Sprite[_num];
}