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

One has to initialize the return value of main to zero first.

[[Imported from SVN: r5006]]
parent 0f7655c6
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ int main(int argc, char** argv)
typedef Dune::Tuple<int*,double*,long*,char*> PointerTuple;
Dune::Tuple<int*,double*,long*,char*> pointers = Dune::NullPointerInitialiser<PointerTuple>::apply();
int ret;
int ret=0;
if(Dune::get<0>(pointers)!=0) {
std::cerr<<"First pointer not null"<<std::endl;
......
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