From 73ee990e45e365f7942fe6cb8decbc23e0660450 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sat, 12 May 2018 13:38:09 -0500 Subject: [PATCH] Cleaned up a pointless statement warning. --- src/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/Plater.cpp b/src/GUI/Plater.cpp index 1b0a58db4..a33fa713e 100644 --- a/src/GUI/Plater.cpp +++ b/src/GUI/Plater.cpp @@ -409,7 +409,7 @@ void Plater::on_model_change(bool force_autocenter) { ObjRef Plater::selected_object() { Slic3r::Log::info(LogChannel, L"Calling selected_object()"); auto it {this->objects.begin()}; - for (it; it != this->objects.end(); it++) + for (; it != this->objects.end(); it++) if (it->selected) return it; Slic3r::Log::info(LogChannel, L"No object selected."); return this->objects.end();