[mythtv-commits] [MythTV/mythtv] 3f494f: Fix "in progress" check in mythplayer.
linuxdude42
noreply at github.com
Fri Apr 5 01:22:29 UTC 2019
Branch: refs/heads/fixes/30
Home: https://github.com/MythTV/mythtv
Commit: 3f494f57e27fef4285e094e919d6f795a8583e33
https://github.com/MythTV/mythtv/commit/3f494f57e27fef4285e094e919d6f795a8583e33
Author: David Hampton <mythtv at love2code.net>
Date: 2019-04-04 (Thu, 04 Apr 2019)
Changed paths:
M mythtv/libs/libmythtv/mythplayer.cpp
M mythtv/libs/libmythtv/playercontext.cpp
Log Message:
-----------
Fix "in progress" check in mythplayer.
The clang-tidy "implicit boolean conversion" check pointed out a
couple of nonsensical implicit conversion from TVState to boolean.
Fix the code to properly test for one of two TV watching states.
Fixes #13442.
https://clang.llvm.org/extra/clang-tidy/checks/readability-implicit-bool-conversion.html
(cherry picked from commit 0bf0880d3e7ff0f78d1b90953e1f48618421e62d)
More information about the mythtv-commits
mailing list