Ticket #5677: libs_libmyth-unused-value.patch

File libs_libmyth-unused-value.patch, 857 bytes (added by Erik Hovland <erik@…>, 12 years ago)

removes pop from PromptForUpgrade?

  • mythtv/libs/libmyth/schemawizard.cpp

    Fixes any unused values defects in libmyth
    
    From: Erik Hovland <erik@hovland.org>
    
    
    ---
    
     mythtv/libs/libmyth/schemawizard.cpp |    3 +--
     1 files changed, 1 insertions(+), 2 deletions(-)
    
    diff --git a/mythtv/libs/libmyth/schemawizard.cpp b/mythtv/libs/libmyth/schemawizard.cpp
    index 03128d4..75407d4 100644
    a b SchemaUpgradeWizard::PromptForUpgrade(const char *name, 
    329329    if (gui)
    330330    {
    331331        DialogBox       * dlg;
    332         MythScreenStack * pop;
    333332        MythMainWindow  * win = gContext->GetMainWindow();
    334333
    335334        if (!win)
    336335            win = TempMainWindow(true);
    337336
    338         pop = win->GetStack("popup stack");
     337        win->GetStack("popup stack");
    339338
    340339        dlg = new DialogBox(win, message);
    341340        dlg->AddButton(QObject::tr("Exit"));