diff --git a/test/src/unit-regression2.cpp b/test/src/unit-regression2.cpp index e84b8bd81..224524189 100644 --- a/test/src/unit-regression2.cpp +++ b/test/src/unit-regression2.cpp @@ -199,9 +199,9 @@ class FooAlloc class Foo { public: - explicit Foo(const FooAlloc& = FooAlloc()) : value(false) {} + explicit Foo(const FooAlloc& /* unused */ = FooAlloc()) : value(false) {} - bool value; + bool value = false; }; class FooBar