From: Denis Davydov Date: Sun, 24 Sep 2017 05:04:54 +0000 (+0200) Subject: remove unused variable in TriangulationWrapper X-Git-Tag: v9.0.0-rc1~1043^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef05d28d7bdac4b8a4bc4ad997f36cab13477d42;p=dealii.git remove unused variable in TriangulationWrapper --- diff --git a/contrib/python-bindings/include/triangulation_wrapper.h b/contrib/python-bindings/include/triangulation_wrapper.h index 4ddc5d6383..c80f956dc8 100644 --- a/contrib/python-bindings/include/triangulation_wrapper.h +++ b/contrib/python-bindings/include/triangulation_wrapper.h @@ -334,11 +334,6 @@ namespace python */ void setup(const std::string &dimension, const std::string &spacedimension); - /** - * Flag is true if the vector cells has been updated. - */ - bool updated; - /** * Dimension of the underlying Triangulation object. */ diff --git a/contrib/python-bindings/source/triangulation_wrapper.cc b/contrib/python-bindings/source/triangulation_wrapper.cc index 753587c741..20d673c769 100644 --- a/contrib/python-bindings/source/triangulation_wrapper.cc +++ b/contrib/python-bindings/source/triangulation_wrapper.cc @@ -466,8 +466,6 @@ namespace python TriangulationWrapper::TriangulationWrapper(const std::string &dimension) - : - updated(false) { if ((dimension.compare("2D")==0) || (dimension.compare("2d")==0)) setup("2D", "2D"); @@ -481,8 +479,6 @@ namespace python TriangulationWrapper::TriangulationWrapper(const std::string &dimension, const std::string &spacedimension) - : - updated(false) { setup(dimension, spacedimension); }