Skip to content

Commit

Permalink
Control: add missing break
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jan 15, 2024
1 parent 56425dd commit 37ed940
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Control.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Instance::OnControlPacket([[maybe_unused]] ControlServer &control_server,
case ControlCommand::FADE_NODE:
case ControlCommand::NODE_STATUS:
case ControlCommand::STATS:
break;

case ControlCommand::VERBOSE:
if (is_privileged && payload.size() == 1)
SetLogLevel(*(const uint8_t *)payload.data());
Expand Down

0 comments on commit 37ed940

Please sign in to comment.