Warnings cleanup in BonjourDialog, ConfigWizard, FirmwareDialog,

GLGizmoCut, ImGuiWrapper
This commit is contained in:
Vojtech Kral
2019-06-25 17:23:53 +02:00
parent 44e6d165db
commit 0acf2dd513
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;
}