Skip to content

Commit

Permalink
Reduce variable scope in MythVerbose
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Dec 31, 2010
1 parent dd9e1ac commit 0df7330
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythdb/mythverbose.cpp
Expand Up @@ -21,7 +21,6 @@ bool haveUserDefaultValues = false;
int parse_verbose_arg(QString arg)
{
QString option;
bool reverseOption;

verbose_mutex.lock();

Expand All @@ -41,7 +40,7 @@ int parse_verbose_arg(QString arg)
it != verboseOpts.end(); ++it )
{
option = *it;
reverseOption = false;
bool reverseOption = false;

if (option != "none" && option.left(2) == "no")
{
Expand Down

0 comments on commit 0df7330

Please sign in to comment.