From dfd3acb4ef558c27ffb92a2b57e87f2d81143c8f Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Tue, 17 Nov 2015 10:27:20 +0100 Subject: [PATCH] Warning Fix - Initialized temp_item to 0 to silence a warning. --- Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp index ecd51c09e08..e5f0da37e22 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp @@ -230,7 +230,7 @@ void Polyhedron_demo_mesh_3_plugin::mesh_3() QApplication::setOverrideCursor(Qt::WaitCursor); - Scene_item* temp_item; + Scene_item* temp_item = 0; if (NULL != poly_item) { Polyhedron* pMesh = poly_item->polyhedron();