Ticket #12998: 0002-Fix-compiler-Wmisleading-indentation-warning-message.patch

File 0002-Fix-compiler-Wmisleading-indentation-warning-message.patch, 3.3 KB (added by David Hampton <mythtv@…>, 4 years ago)

Fix for misleading indentation.

  • mythtv/libs/libmythtv/diseqc.cpp

     mythtv/libs/libmythtv/diseqc.cpp                    | 2 +-
     mythtv/libs/libmythui/cecadapter.cpp                | 2 +-
     mythtv/libs/libmythui/mythuibuttontree.cpp          | 4 ++--
     mythtv/libs/libmythui/mythuifilebrowser.cpp         | 2 +-
     mythtv/programs/mythfrontend/programrecpriority.cpp | 2 +-
     5 files changed, 6 insertions(+), 6 deletions(-)
    
    diff --git a/mythtv/libs/libmythtv/diseqc.cpp b/mythtv/libs/libmythtv/diseqc.cpp
    index 0eadbea..d84c286 100644
    a b DiSEqCDevDevice *DiSEqCDevDevice::CreateByType(DiSEqCDevTree &tree, 
    980980            node = new DiSEqCDevSCR(tree, dev_id);
    981981            if (node)
    982982                node->SetDescription("Unicable");
    983                 break;
     983            break;
    984984        case kTypeLNB:
    985985            node = new DiSEqCDevLNB(tree, dev_id);
    986986            if (node)
  • mythtv/libs/libmythui/cecadapter.cpp

    diff --git a/mythtv/libs/libmythui/cecadapter.cpp b/mythtv/libs/libmythui/cecadapter.cpp
    index ba63c49..6d12a54 100644
    a b void CECAdapter::Action(const QString &action) 
    11901190        m_priv->powerOnTV = true;
    11911191    else if (ACTION_TVPOWEROFF == action)
    11921192        m_priv->powerOffTV = true;
    1193         gActionsReady->wakeAll();
     1193    gActionsReady->wakeAll();
    11941194}
    11951195
    11961196#if CEC_LIB_VERSION_MAJOR <= 3
  • mythtv/libs/libmythui/mythuibuttontree.cpp

    diff --git a/mythtv/libs/libmythui/mythuibuttontree.cpp b/mythtv/libs/libmythui/mythuibuttontree.cpp
    index ed55a43..c72eca4 100644
    a b void MythUIButtonTree::RemoveItem(MythUIButtonListItem *item, bool deleteNode) 
    403403    if (!item || !m_rootNode)
    404404        return;
    405405
    406         MythGenericTree *node = item->GetData().value<MythGenericTree *>();
     406    MythGenericTree *node = item->GetData().value<MythGenericTree *>();
    407407
    408408    if (node && node->getParent())
    409409    {
    void MythUIButtonTree::handleClick(MythUIButtonListItem *item) 
    554554    if (!item)
    555555        return;
    556556
    557         MythGenericTree *node = item->GetData().value<MythGenericTree *>();
     557    MythGenericTree *node = item->GetData().value<MythGenericTree *>();
    558558
    559559    if (DoSetCurrentNode(node))
    560560        emit itemClicked(item);
  • mythtv/libs/libmythui/mythuifilebrowser.cpp

    diff --git a/mythtv/libs/libmythui/mythuifilebrowser.cpp b/mythtv/libs/libmythui/mythuifilebrowser.cpp
    index 45a37b7..4d72a1f 100644
    a b void MythUIFileBrowser::PathClicked(MythUIButtonListItem *item) 
    309309    if (!item)
    310310        return;
    311311
    312         MFileInfo finfo = item->GetData().value<MFileInfo>();
     312    MFileInfo finfo = item->GetData().value<MFileInfo>();
    313313
    314314    if (finfo.isFile())
    315315    {
  • mythtv/programs/mythfrontend/programrecpriority.cpp

    diff --git a/mythtv/programs/mythfrontend/programrecpriority.cpp b/mythtv/programs/mythfrontend/programrecpriority.cpp
    index 4635873..dc8c5fd 100644
    a b void ProgramRecPriority::RemoveItemFromList(MythUIButtonListItem *item) 
    15691569    if (!item)
    15701570        return;
    15711571
    1572         ProgramRecPriorityInfo *pgRecInfo = item->GetData()
     1572    ProgramRecPriorityInfo *pgRecInfo = item->GetData()
    15731573                                  .value<ProgramRecPriorityInfo *>();
    15741574
    15751575    if (!pgRecInfo)