From: bangerth Date: Wed, 13 Feb 2013 00:59:12 +0000 (+0000) Subject: Avoid a warning by icc. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01a62c7a5babf511db9f7859aa45841e997912eb;p=dealii-svn.git Avoid a warning by icc. git-svn-id: https://svn.dealii.org/trunk@28352 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_tools.cc b/deal.II/source/grid/grid_tools.cc index 03243dca99..77c916ae7d 100644 --- a/deal.II/source/grid/grid_tools.cc +++ b/deal.II/source/grid/grid_tools.cc @@ -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; } };