From: Wolfgang Bangerth Date: Mon, 18 May 1998 09:08:04 +0000 (+0000) Subject: Add some checks for safety. X-Git-Tag: v8.0.0~22946 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3316b50dba04d9bf9a3609e642ccdce5ae0e1a11;p=dealii.git Add some checks for safety. git-svn-id: https://svn.dealii.org/trunk@308 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 ""; }; };