Skip to content
Snippets Groups Projects
Commit ccb88c40 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Comparison instead of assignment in assert

Found by Cppcheck (assignmentInAssert).
parent fe2c01cb
No related branches found
No related tags found
1 merge request!247Fix several Cppcheck findings
......@@ -101,7 +101,7 @@ namespace Dune
}
else if( subcodim == 0 )
{
assert( endOut = beginOut + 1 );
assert( endOut == beginOut + 1 );
*beginOut = i;
}
else
......
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