diff --git a/Mesh/meshGFace.cpp b/Mesh/meshGFace.cpp
index b959b082c98482a7aa5341f554ba0f00c0a6812a..d4baa49cbf22d91318770206a587637523768f51 100644
--- a/Mesh/meshGFace.cpp
+++ b/Mesh/meshGFace.cpp
@@ -302,7 +302,6 @@ static bool gmsh2DMeshGenerator(GFace *gf, int RECUR_ITER,
   m->scalingV = 1;
 
   std::vector<BDS_Point*> points(all_vertices.size());
-  std::vector<MVertex*> indexed_vertices(all_vertices.size());
   SBoundingBox3d bbox;
   int count = 0;
   for(std::set<MVertex*>::iterator it = all_vertices.begin();