diff --git a/Mesh/meshRefine.cpp b/Mesh/meshRefine.cpp
index 12994956e5d09647ebbeaca3029f4342ec55d986..11ba91b6c747a53d581f275c08a1d3cebaf34540 100644
--- a/Mesh/meshRefine.cpp
+++ b/Mesh/meshRefine.cpp
@@ -449,9 +449,6 @@ static void Subdivide(GRegion *gr, bool splitIntoHexas, faceContainer &faceVerti
 
 void RefineMesh(GModel *m, bool linear, bool splitIntoQuads, bool splitIntoHexas)
 {
-    splitIntoQuads = true;
-    splitIntoHexas = true;
-
   Msg::StatusBar(true, "Refining mesh...");
   double t1 = Cpu();