Skip to content
Snippets Groups Projects
Commit 8b0e8235 authored by Christian Engwer's avatar Christian Engwer
Browse files

avoid compiler warnings

[[Imported from SVN: r2326]]
parent 8c3afbca
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,16 @@ using namespace Dune;
template<class T>
void test(T& tuple)
{
float f = Element<0>::get(tuple);
int i = Element<1>::get(tuple);
double d = Element<2>::get(tuple);
char c = Element<3>::get(tuple);
std::string s = Element<4>::get(tuple);
float f;
f = Element<0>::get(tuple);
int i;
i = Element<1>::get(tuple);
double d;
d = Element<2>::get(tuple);
char c;
c = Element<3>::get(tuple);
std::string s;
s = Element<4>::get(tuple);
}
int iteratorTupleTest()
......
......@@ -45,7 +45,7 @@ namespace Dune {
//! Constructor
OneDGridHierarchicIterator(int maxlevel) : OneDGridEntityPointer<0,GridImp>(NULL),
elemStack(), maxlevel_(maxlevel)
maxlevel_(maxlevel), elemStack()
{}
//! prefix increment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment