Warnings cleanup in BonjourDialog, ConfigWizard, FirmwareDialog,

GLGizmoCut, ImGuiWrapper
This commit is contained in:
Vojtech Kral 2019-06-25 17:23:53 +02:00
parent f7d4a35c3d
commit 4fb904357f
5 changed files with 8 additions and 51 deletions

View file

@ -171,7 +171,7 @@ void BonjourDialog::on_reply(BonjourReplyEvent &e)
// Filter replies based on selected technology
const auto model = e.reply.txt_data.find("model");
const bool sl1 = model != e.reply.txt_data.end() && model->second == "SL1";
if (tech == ptFFF && sl1 || tech == ptSLA && !sl1) {
if ((tech == ptFFF && sl1) || (tech == ptSLA && !sl1)) {
return;
}