diff --git a/Applications/DataExplorer/VtkVis/VtkVisPipelineView.cpp b/Applications/DataExplorer/VtkVis/VtkVisPipelineView.cpp
index 861ac20e987ff17cdb058abbbfa2bc6658b33f03..a6d7c291b1a3760970baf208de632c4da91ec7af 100644
--- a/Applications/DataExplorer/VtkVis/VtkVisPipelineView.cpp
+++ b/Applications/DataExplorer/VtkVis/VtkVisPipelineView.cpp
@@ -201,7 +201,6 @@ void VtkVisPipelineView::showImageToMeshConversionDialog()
 	if (dlg.exec() != QDialog::Accepted)
 		return;
 
-	MeshLib::MeshElemType t (dlg.getElementSelection());
 	constructMeshFromImage(dlg.getNewMeshName(), dlg.getElementSelection(), dlg.getIntensitySelection());
 }