From cfa2b57c68da3852b3c059dd15f51b01fab47544 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 30 May 2021 21:44:07 -0400 Subject: [PATCH] Use logical OR to quiet static analyzer (no functional change) --- pcbnew/dialogs/dialog_net_inspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_net_inspector.cpp b/pcbnew/dialogs/dialog_net_inspector.cpp index 68fcd59c0e..46c0de7220 100644 --- a/pcbnew/dialogs/dialog_net_inspector.cpp +++ b/pcbnew/dialogs/dialog_net_inspector.cpp @@ -203,7 +203,7 @@ public: bool TotalLengthChanged() const { - return BoardWireLengthChanged() | ViaLengthChanged() | ChipWireLengthChanged(); + return BoardWireLengthChanged() || ViaLengthChanged() || ChipWireLengthChanged(); } LIST_ITEM* Parent() const