Mailing List Archive

[MythTV/mythtv] 09334c: tidy: Don't use else after a return statement.
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 09334c43ccde45f816afa69ccf1e465e79bd21bf
https://github.com/MythTV/mythtv/commit/09334c43ccde45f816afa69ccf1e465e79bd21bf
Author: David Hampton <mythtv@love2code.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M mythplugins/mythmusic/mythmusic/visualizerview.cpp

Log Message:
-----------
tidy: Don't use else after a return statement.

https://clang.llvm.org/extra/clang-tidy/checks/readability/else-after-return.html


Commit: 59e7feb65ff12988daf2bb9f313405aa2e0be644
https://github.com/MythTV/mythtv/commit/59e7feb65ff12988daf2bb9f313405aa2e0be644
Author: David Hampton <mythtv@love2code.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M mythplugins/mythmusic/mythmusic/musiccommon.cpp
M mythplugins/mythmusic/mythmusic/musicplayer.h
M mythplugins/mythmusic/mythmusic/playlisteditorview.cpp
M mythplugins/mythmusic/mythmusic/searchview.cpp

Log Message:
-----------
tidy: Convert a couple of member functions to be called statically.

https://clang.llvm.org/extra/clang-tidy/checks/readability/convert-member-functions-to-static.html


Commit: ac759c4413b9fb8306d6d466f40265ee17c536c1
https://github.com/MythTV/mythtv/commit/ac759c4413b9fb8306d6d466f40265ee17c536c1
Author: David Hampton <mythtv@love2code.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M mythplugins/mythmusic/mythmusic/playlisteditorview.cpp

Log Message:
-----------
Remove obsoleted code from myth music playlist editor.


Commit: d1bbbd3074ef04a01ad30ea96b928e9b170d91d5
https://github.com/MythTV/mythtv/commit/d1bbbd3074ef04a01ad30ea96b928e9b170d91d5
Author: David Hampton <mythtv@love2code.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M mythtv/libs/libmythtv/drm/mythvideodrm.cpp
M mythtv/libs/libmythui/platforms/mythdrmdevice.cpp

Log Message:
-----------
tidy: Quiet a couple of new tidy-17 "initialize variables" warnings.

These warnings are for complex data structures. There are a couple of
ways to initialize these variable that are accepted bu the compiler,
but none that are accepted by clang-tidy.


Commit: 397fc5a1fa3512ff7b96052d07d53abc967fc8de
https://github.com/MythTV/mythtv/commit/397fc5a1fa3512ff7b96052d07d53abc967fc8de
Author: David Hampton <mythtv@love2code.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M mythtv/programs/mythbackend/servicesv2/v2video.cpp

Log Message:
-----------
tidy: Fix a couple of new tidy-17 warnings in v2video.cpp.

1) Convert two loops to be range-based loops.
2) Fix an uninitialized variable warning.
3) Add a set of parentheses to clarify the "if" clause boundaries.


Commit: e250fa5ab877b57060b92189d43c2a14dfe6d702
https://github.com/MythTV/mythtv/commit/e250fa5ab877b57060b92189d43c2a14dfe6d702
Author: David Hampton <mythtv@love2code.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M mythtv/libs/libmythtv/channelscan/externrecscanner.cpp

Log Message:
-----------
tidy: Fix a couple of new tidy-17 warnings in externrecscanner.cpp.

1) Declare all variables on separate lines.
2) Add initializers for a couple of variables.


Commit: 271b7ed8d2fc27c507e74ed5bd799bd0381e27c3
https://github.com/MythTV/mythtv/commit/271b7ed8d2fc27c507e74ed5bd799bd0381e27c3
Author: David Hampton <mythtv@love2code.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M .clang-tidy

Log Message:
-----------
tidy: Quiet some new tidy warnings from clang 17.


Compare: https://github.com/MythTV/mythtv/compare/c37aaa54be37...271b7ed8d2fc
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits