TD: Fix compiler warnings

This fixes the compiler warning: unused parameter 'mode' [-Wunused-parameter]

It's a regression of #16889 to not initialize the class member m_createMode any more that causes UB,
i.e. whenever m_createMode is accessed it may return an unexpected value.
This commit is contained in:
wmayer
2024-10-01 11:46:55 +02:00
committed by Yorik van Havre
parent 6c3c559225
commit 4fe1513365

View File

@@ -69,6 +69,7 @@ TaskProjGroup::TaskProjGroup(TechDraw::DrawView* featView, bool mode) :
ui(new Ui_TaskProjGroup),
view(featView),
multiView(dynamic_cast<TechDraw::DrawProjGroup*>(view)),
m_createMode(mode),
blockCheckboxes(false)
{
ui->setupUi(this);