diff --git a/src/monitor/NodeStatusWnd.h b/src/monitor/NodeStatusWnd.h index 6bbc3dc0..9aeea5f4 100644 --- a/src/monitor/NodeStatusWnd.h +++ b/src/monitor/NodeStatusWnd.h @@ -215,8 +215,6 @@ private: if (FVTerm::getFOutput()->getMaxColor() < 16) setBold(); - const auto& wc = getColorTheme(); - if (!m_tx) { if (m_failed) { setColor(FColor::Black, FColor::LightRed); diff --git a/src/sysview/DynRegroupSubscriberWnd.h b/src/sysview/DynRegroupSubscriberWnd.h index f8072409..b693eaa6 100644 --- a/src/sysview/DynRegroupSubscriberWnd.h +++ b/src/sysview/DynRegroupSubscriberWnd.h @@ -169,7 +169,7 @@ private: redraw(); }); m_subscriber.addCallback("changed", [&]() { - if (m_subscriber.getText().c_str() == "") { + if (m_subscriber.getText().getLength() == 0U) { m_srcId = 1U; return; } diff --git a/src/sysview/NodeStatusWnd.h b/src/sysview/NodeStatusWnd.h index c2e9a16b..37c8fd18 100644 --- a/src/sysview/NodeStatusWnd.h +++ b/src/sysview/NodeStatusWnd.h @@ -283,8 +283,6 @@ private: if (FVTerm::getFOutput()->getMaxColor() < 16) setBold(); - const auto& wc = getColorTheme(); - if (!m_tx) { if (m_failed) { setColor(FColor::Black, FColor::LightRed); @@ -732,8 +730,6 @@ private: { assert(wdgt != nullptr); - const auto& rootWidget = getRootWidget(); - uint8_t channelId = peerObj["channelId"].get(); uint32_t channelNo = peerObj["channelNo"].get();