aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2016-05-29 21:32:46 +0200
committerTorbjörn Andersson2016-05-29 21:35:37 +0200
commite963f8bc6098c93b3b3d39d46fa7617a1567f6ef (patch)
treeffc770163ed6e43df9ad3fe8727392940df57687 /engines
parente317b87753eb7e0bf94c754efdc6c5faa7fc6ae7 (diff)
downloadscummvm-rg350-e963f8bc6098c93b3b3d39d46fa7617a1567f6ef.tar.gz
scummvm-rg350-e963f8bc6098c93b3b3d39d46fa7617a1567f6ef.tar.bz2
scummvm-rg350-e963f8bc6098c93b3b3d39d46fa7617a1567f6ef.zip
SHERLOCK: Silence very noisy GCC warning
Since 'w' and 'h' are members of ManagedSurface, using them as input parameters to a method caused GCC to warn about them being shadowed. For just about every file in the Sherlock engine...
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/surface.h b/engines/sherlock/surface.h
index 807fbeb1d1..401d9b648d 100644
--- a/engines/sherlock/surface.h
+++ b/engines/sherlock/surface.h
@@ -121,7 +121,7 @@ protected:
virtual void addDirtyRect(const Common::Rect &r) {}
public:
Surface() : BaseSurface() {}
- Surface(int w, int h) : BaseSurface(w, h) {}
+ Surface(int width, int height) : BaseSurface(width, height) {}
};
} // End of namespace Sherlock