fix up some warnings;

pull/75/head
Bryan Biedenkapp 1 year ago
parent f7c66bdef0
commit f3c6e79999

@ -215,8 +215,6 @@ private:
if (FVTerm::getFOutput()->getMaxColor() < 16) if (FVTerm::getFOutput()->getMaxColor() < 16)
setBold(); setBold();
const auto& wc = getColorTheme();
if (!m_tx) { if (!m_tx) {
if (m_failed) { if (m_failed) {
setColor(FColor::Black, FColor::LightRed); setColor(FColor::Black, FColor::LightRed);

@ -169,7 +169,7 @@ private:
redraw(); redraw();
}); });
m_subscriber.addCallback("changed", [&]() { m_subscriber.addCallback("changed", [&]() {
if (m_subscriber.getText().c_str() == "") { if (m_subscriber.getText().getLength() == 0U) {
m_srcId = 1U; m_srcId = 1U;
return; return;
} }

@ -283,8 +283,6 @@ private:
if (FVTerm::getFOutput()->getMaxColor() < 16) if (FVTerm::getFOutput()->getMaxColor() < 16)
setBold(); setBold();
const auto& wc = getColorTheme();
if (!m_tx) { if (!m_tx) {
if (m_failed) { if (m_failed) {
setColor(FColor::Black, FColor::LightRed); setColor(FColor::Black, FColor::LightRed);
@ -732,8 +730,6 @@ private:
{ {
assert(wdgt != nullptr); assert(wdgt != nullptr);
const auto& rootWidget = getRootWidget();
uint8_t channelId = peerObj["channelId"].get<uint8_t>(); uint8_t channelId = peerObj["channelId"].get<uint8_t>();
uint32_t channelNo = peerObj["channelNo"].get<uint32_t>(); uint32_t channelNo = peerObj["channelNo"].get<uint32_t>();

Loading…
Cancel
Save

Powered by TurnKey Linux.