From 53e55c0720474efb8cf5cb204bce599dd1a4c36a Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 15 Dec 2016 06:22:56 +0000 Subject: [PATCH] fix warn --- Plugin/GaussPoints.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Plugin/GaussPoints.cpp b/Plugin/GaussPoints.cpp index 7eaf6af38a..2aeece8f7a 100644 --- a/Plugin/GaussPoints.cpp +++ b/Plugin/GaussPoints.cpp @@ -56,7 +56,7 @@ PView* GMSH_GaussPointsPlugin::execute(PView *v) else{ m->getEntities(entities, dim); } - + if(entities.empty()){ Msg::Error("No entities"); return v; @@ -73,7 +73,7 @@ PView* GMSH_GaussPointsPlugin::execute(PView *v) double u = gp[i].pt[0]; double v = gp[i].pt[1]; double w = gp[i].pt[2]; - double weight = gp[i].weight; + //double weight = gp[i].weight; SPoint3 p; e->pnt(u, v, w, p); data2->SP.push_back(p.x()); @@ -91,4 +91,3 @@ PView* GMSH_GaussPointsPlugin::execute(PView *v) return v; } - -- GitLab