Skip to content

Commit

Permalink
Remove no-longer-needed variable in mythfrontend main.
Browse files Browse the repository at this point in the history
  • Loading branch information
sphery committed Jul 22, 2011
1 parent 6e203ec commit c1482e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/programs/mythfrontend/main.cpp
Expand Up @@ -1379,7 +1379,6 @@ int main(int argc, char **argv)
{
bool bPromptForBackend = false;
bool bBypassAutoDiscovery = false;
bool upgradeAllowed = false;

MythFrontendCommandLineParser cmdline;
if (!cmdline.Parse(argc, argv))
Expand Down Expand Up @@ -1534,7 +1533,7 @@ int main(int argc, char **argv)
return GENERIC_EXIT_NO_THEME;
}

if (!UpgradeTVDatabaseSchema(upgradeAllowed))
if (!UpgradeTVDatabaseSchema(false))
{
LOG(VB_GENERAL, LOG_ERR,
"Couldn't upgrade database to new schema, exiting.");
Expand Down

0 comments on commit c1482e6

Please sign in to comment.