From 1166d8d2cc4e2d2420a95f715a754b52e0a26d1a Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 26 Apr 2016 18:57:25 +0200 Subject: [PATCH] + fix compiler warning due to comparison of string literals --- src/Mod/Part/Gui/AttacherTexts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/Gui/AttacherTexts.cpp b/src/Mod/Part/Gui/AttacherTexts.cpp index 017e868f7..02ca7b254 100644 --- a/src/Mod/Part/Gui/AttacherTexts.cpp +++ b/src/Mod/Part/Gui/AttacherTexts.cpp @@ -247,7 +247,7 @@ TextSet getUIStrings(Base::Type attacherType, eMapMode mmode) } } - assert("No user-friendly string defined for this attachment mode."==""); + assert(false && "No user-friendly string defined for this attachment mode."); return TwoStrings(QString::fromStdString(AttachEngine::getModeName(mmode)), QString()); }