Skip to content

Commit

Permalink
BI_FootprintPad: Fix warning due to unhandled switch-case
Browse files Browse the repository at this point in the history
  • Loading branch information
ubruhin committed Mar 23, 2024
1 parent 283f5ed commit fd75a53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/librepcb/core/project/board/items/bi_footprintpad.cpp
Expand Up @@ -223,6 +223,8 @@ void BI_FootprintPad::deviceEdited(const BI_Device& obj,
BI_Device::Event event) noexcept {
Q_UNUSED(obj);
switch (event) {
case BI_Device::Event::BoardLayersChanged:
break; // Already handled by a signal-slot connection to the board.
case BI_Device::Event::PositionChanged:
case BI_Device::Event::RotationChanged:
case BI_Device::Event::MirroredChanged:
Expand Down

0 comments on commit fd75a53

Please sign in to comment.