From ca9b3ff726ff0dd314a13c7dff47664fca8fee79 Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Mon, 8 Jun 2026 20:47:37 +0200 Subject: [PATCH] cleanup: remove dead UIEventType::advertReceived MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The enum value and its case label were never emitted after PR #16 — both dispatch sites in MyMesh.cpp now use advertReceivedFlood or advertReceivedZeroHop exclusively. Co-Authored-By: Claude Sonnet 4.6 --- examples/companion_radio/AbstractUITask.h | 1 - examples/companion_radio/ui-new/UITask.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/companion_radio/AbstractUITask.h b/examples/companion_radio/AbstractUITask.h index a0db33c6..860d0627 100644 --- a/examples/companion_radio/AbstractUITask.h +++ b/examples/companion_radio/AbstractUITask.h @@ -18,7 +18,6 @@ enum class UIEventType { contactMessage, channelMessage, roomMessage, - advertReceived, advertReceivedFlood, advertReceivedZeroHop, ack diff --git a/examples/companion_radio/ui-new/UITask.cpp b/examples/companion_radio/ui-new/UITask.cpp index a7ab99ef..cc88f472 100644 --- a/examples/companion_radio/ui-new/UITask.cpp +++ b/examples/companion_radio/ui-new/UITask.cpp @@ -1468,7 +1468,6 @@ switch(t){ _last_notif_ch_idx = -1; break; } - case UIEventType::advertReceived: case UIEventType::advertReceivedFlood: case UIEventType::advertReceivedZeroHop: { bool is_flood = (t == UIEventType::advertReceivedFlood);