aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-06-07 09:48:53 +0200
committerStrangerke2014-06-07 09:48:53 +0200
commit701f7d5707f0415a4469eba4d2f30cb2daf7e570 (patch)
tree876c7841a790b5e93eded581e385b10471f8ed29 /engines
parent7c017cfdb924ade0faa8b01faf9580a7c444d4df (diff)
downloadscummvm-rg350-701f7d5707f0415a4469eba4d2f30cb2daf7e570.tar.gz
scummvm-rg350-701f7d5707f0415a4469eba4d2f30cb2daf7e570.tar.bz2
scummvm-rg350-701f7d5707f0415a4469eba4d2f30cb2daf7e570.zip
TEENAGENT: Remove dead code: s cannot be null at this point
Diffstat (limited to 'engines')
-rw-r--r--engines/teenagent/actor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/teenagent/actor.cpp b/engines/teenagent/actor.cpp
index a4df43a5fe..5c796c13ab 100644
--- a/engines/teenagent/actor.cpp
+++ b/engines/teenagent/actor.cpp
@@ -134,10 +134,6 @@ Common::Rect Actor::render(Graphics::Surface *surface, const Common::Point &posi
default:
return Common::Rect();
}
- if (s == NULL) {
- warning("no surface, skipping");
- return Common::Rect();
- }
Common::Rect dirty;
Common::Rect clip(0, 0, s->w, s->h);