From 3316b50dba04d9bf9a3609e642ccdce5ae0e1a11 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 18 May 1998 09:08:04 +0000 Subject: [PATCH] Add some checks for safety. git-svn-id: https://svn.dealii.org/trunk@308 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/data_io.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deal.II/deal.II/source/numerics/data_io.cc b/deal.II/deal.II/source/numerics/data_io.cc index 010595842c..892af90a84 100644 --- a/deal.II/deal.II/source/numerics/data_io.cc +++ b/deal.II/deal.II/source/numerics/data_io.cc @@ -564,6 +564,8 @@ void DataOut::write (ostream &out, case gnuplot: write_gnuplot (out); break; + default: + Assert (false, ExcNotImplemented()); }; }; @@ -577,6 +579,9 @@ string DataOut::default_suffix (const OutputFormat output_format) { return ".inp"; case gnuplot: return ".gnuplot"; + default: + Assert (false, ExcNotImplemented()); + return ""; }; }; -- 2.39.5