Description: Make the build reproducible Author: Chris Lamb Last-Update: 2022-12-07 --- kate-22.04.3.orig/addons/close-except-like/close_except_plugin.cpp +++ kate-22.04.3/addons/close-except-like/close_except_plugin.cpp @@ -225,7 +225,6 @@ void CloseExceptPluginView::updateMenu() void CloseExceptPluginView::close(const QString &item, const bool close_if_match) { QChar asterisk = QLatin1Char('*'); - assert("Parameter seems invalid! Is smth has changed in the code?" && !item.isEmpty() && (item[0] == asterisk || item[item.size() - 1] == asterisk)); const bool is_path = item[0] != asterisk; const QString mask = is_path ? item.left(item.size() - 1) : item; --- kate-22.04.3.orig/addons/close-except-like/close_confirm_dialog.cpp +++ kate-22.04.3/addons/close-except-like/close_confirm_dialog.cpp @@ -61,7 +61,6 @@ CloseConfirmDialog::CloseConfirmDialog(Q : QDialog(parent) , m_docs(docs) { - assert("Documents container expected to be non empty" && !docs.isEmpty()); setupUi(this); setWindowTitle(i18nc("@title:window", "Close files confirmation")); @@ -88,7 +87,6 @@ CloseConfirmDialog::CloseConfirmDialog(Q m_dont_ask_again->setText(i18nc("option:check", "Do not ask again")); // NOTE If we are here, it means that 'Show Confirmation' action is enabled, // so not needed to read config... - assert("Sanity check" && show_confirmation_action->isChecked()); m_dont_ask_again->setCheckState(Qt::Unchecked); connect(m_dont_ask_again, &QCheckBox::toggled, show_confirmation_action, &KToggleAction::toggle);