Skip to content

Commit

Permalink
tidy: Fix some class member naming. (libmythui)
Browse files Browse the repository at this point in the history
The clang-tidy "identifier naming" checker pointed out a number of
places where class member variables don't use the convention of
starting with "m_", or static variables don't begin with "s_".  Fix
these for naming consistency across the code base.  There are also a
handful of member variables names that were converted from the
"m_lower_case" form to the "m_camelBack" form.

https://clang.llvm.org/extra/clang-tidy/checks/readability-identifier-naming.html
  • Loading branch information
linuxdude42 committed Nov 23, 2019
1 parent 37b5775 commit 7c363a0
Show file tree
Hide file tree
Showing 15 changed files with 269 additions and 269 deletions.
12 changes: 6 additions & 6 deletions mythtv/libs/libmythui/DisplayResX.cpp
Expand Up @@ -20,15 +20,15 @@ static XRRScreenConfiguration *GetScreenConfig(MythXDisplay*& display);

bool DisplayResX::IsAvailable(void)
{
static bool checked = false;
static bool available = false;
if (!checked)
static bool s_checked = false;
static bool s_available = false;
if (!s_checked)
{
checked = true;
s_checked = true;
MythXDisplay display;
available = display.Open();
s_available = display.Open();
}
return available;
return s_available;
}

DisplayResX::DisplayResX(void)
Expand Down

0 comments on commit 7c363a0

Please sign in to comment.