Commit 18df9428 authored by Ben Boeckel's avatar Ben Boeckel

XdmfHeavyDataWriter: always initialize `newMode`

parent e9dd9167
......@@ -241,6 +241,7 @@ void XdmfHeavyDataWriterSetMode(XDMFHEAVYDATAWRITER * writer, int mode, int * st
newMode = XdmfHeavyDataWriter::Hyperslab;
break;
default:
newMode = XdmfHeavyDataWriter::Default;
XdmfError::message(XdmfError::FATAL,
"Error: Invalid heavy writer mode.");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment