Skip to content
Snippets Groups Projects
Commit d57c255b authored by Markus Blatt's avatar Markus Blatt
Browse files

removed unused variable warnings.

[[Imported from SVN: r6095]]
parent c6395c21
Branches
Tags
No related merge requests found
......@@ -24,6 +24,8 @@ int main ()
double testDouble = parameterSet.get<double>("testDouble");
int testInt = parameterSet.get<int>("testInt");
++testDouble;
++testInt;
std::string testString = parameterSet.get<std::string>("testString");
typedef Dune::FieldVector<unsigned, 5> FVector;
FVector testFVector = parameterSet.get<FVector>("testVector");
......
......@@ -13,6 +13,7 @@ void basic_tests()
char* ch2 = 0; // ch2 has the null pointer value
#ifdef FAIL
int n = nullptr; // error
++n;
#endif
int n2 = 0; // n2 is zero
if( ch == 0 ) ; // evaluates to true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment