aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/vdx.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-10-26 19:06:36 +0000
committerJordi Vilalta Prat2009-10-26 19:06:36 +0000
commitc7476aa16ffe54020f5fea7ad74e76f2e67584cf (patch)
tree0cfc05ff8da2c89d03a61a8596e5c34b897331a6 /engines/groovie/vdx.cpp
parent49d4e3c46719e08c26d025e3adad3a39c6a8ba71 (diff)
downloadscummvm-rg350-c7476aa16ffe54020f5fea7ad74e76f2e67584cf.tar.gz
scummvm-rg350-c7476aa16ffe54020f5fea7ad74e76f2e67584cf.tar.bz2
scummvm-rg350-c7476aa16ffe54020f5fea7ad74e76f2e67584cf.zip
Groovie: Fix some styling issues pointed by cppcheck
svn-id: r45411
Diffstat (limited to 'engines/groovie/vdx.cpp')
-rw-r--r--engines/groovie/vdx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp
index 6e0762a9fe..0c754473fe 100644
--- a/engines/groovie/vdx.cpp
+++ b/engines/groovie/vdx.cpp
@@ -168,8 +168,7 @@ bool VDXPlayer::playFrameInternal() {
default:
error("Groovie::VDX: Invalid resource type: %d", currRes);
}
- if (vdxData)
- delete vdxData;
+ delete vdxData;
vdxData = 0;
}