]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid a warning by icc.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 00:59:12 +0000 (00:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 00:59:12 +0000 (00:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@28352 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_tools.cc

index 03243dca99a23748bc7df1b735470a98650cc387..77c916ae7ddbe831ce5c203194a3dd060e8f205f 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -2231,7 +2231,7 @@ next_cell:
       AssertThrow(false, ExcInternalError());
       // what follows is dead code, but it avoids warnings about the lack
       // of a return value
-      return -1;
+      return 0;
     }
   };
 
@@ -2264,7 +2264,7 @@ next_cell:
       AssertThrow(false, ExcInternalError());
       // what follows is dead code, but it avoids warnings about the lack
       // of a return value
-      return -1;
+      return 0;
     }
   };
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.