From cbb828b337979e4dae4d5f1560ca4debe94079c4 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 7 Aug 2011 11:34:03 +0200 Subject: CGE: Fix a couple of warnings reported by cppcheck --- engines/cge/walk.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/cge/walk.h') diff --git a/engines/cge/walk.h b/engines/cge/walk.h index 115cb4924a..8327c901b6 100644 --- a/engines/cge/walk.h +++ b/engines/cge/walk.h @@ -49,7 +49,6 @@ protected: signed char _a; signed char _b; public: - Couple() { } Couple(const signed char a, const signed char b) : _a(a), _b(b) { } Couple operator + (Couple c) { return Couple(_a + c._a, _b + c._b); @@ -91,8 +90,8 @@ public: static void init(CGEEngine *vm); public: uint8 &cell(); - Cluster() : Couple() { } Cluster(int a, int b) : Couple(a, b) { } + Cluster() : Couple (-1, -1) { } bool chkBar() const; bool isValid() const; -- cgit v1.2.3