From: Denis Davydov Date: Thu, 15 Dec 2016 16:20:13 +0000 (+0100) Subject: fix compiler warning in DiagonalMatrix X-Git-Tag: v8.5.0-rc1~332^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55250b842d6f5355513bf2e3e41347dd741f3fb2;p=dealii.git fix compiler warning in DiagonalMatrix --- diff --git a/include/deal.II/lac/diagonal_matrix.h b/include/deal.II/lac/diagonal_matrix.h index b30baffcbb..1f5a62dc4a 100644 --- a/include/deal.II/lac/diagonal_matrix.h +++ b/include/deal.II/lac/diagonal_matrix.h @@ -291,6 +291,7 @@ DiagonalMatrix::operator()(const size_type i, const size_type j) { Assert (i==j, ExcIndexRange(j,i,i+1)); + (void)j; return diagonal(i); }