diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-12 20:49:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-17 13:48:27 (GMT) |
commit | 5d57970dd9ddea70163bdd3c64fbf365a15af9fb (patch) | |
tree | cff0e68a278ed6064136725f9ea52b7f5e1f76be | |
parent | 69182ce4ed95c62d51e208c8620ff4e6599dee2e (diff) | |
download | CMake-5d57970dd9ddea70163bdd3c64fbf365a15af9fb.zip CMake-5d57970dd9ddea70163bdd3c64fbf365a15af9fb.tar.gz CMake-5d57970dd9ddea70163bdd3c64fbf365a15af9fb.tar.bz2 |
Features: Use variable in cxx_inheriting_constructors test.
Avoid warning with SolarisStudio.
-rw-r--r-- | Tests/CompileFeatures/cxx_inheriting_constructors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp index a83b624..cfce880 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); } |