From 5d57970dd9ddea70163bdd3c64fbf365a15af9fb Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 12 Jan 2015 21:49:56 +0100 Subject: [PATCH] Features: Use variable in cxx_inheriting_constructors test. Avoid warning with SolarisStudio. --- Tests/CompileFeatures/cxx_inheriting_constructors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp index a83b624ca..cfce88022 100644 --- a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp +++ b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp @@ -13,6 +13,6 @@ struct B : public A void someFunc() { - int i; + int i = 0; B b(i); }