[mythtv-commits] [MythTV/mythtv] 8c8d74: tidy: Remove redundant initializers from construct...

David Hampton noreply at github.com
Mon May 15 19:39:23 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 8c8d749a229e74052f2107b0025f071bafa75e32
      https://github.com/MythTV/mythtv/commit/8c8d749a229e74052f2107b0025f071bafa75e32
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-05-14 (Sun, 14 May 2023)

  Changed paths:
    M mythtv/programs/mythbackend/servicesv2/v2envInfo.h

  Log Message:
  -----------
  tidy: Remove redundant initializers from constructor functions.

Remove any zero or false initializers, since that is the default value
for those types of variables.

This has the added advantage of making any non-default values stand
out, instead of being lost in a long list of default values.

See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html


  Commit: 84b3222aefdd0adc0dad5b8aa28f2b875ea6e8fe
      https://github.com/MythTV/mythtv/commit/84b3222aefdd0adc0dad5b8aa28f2b875ea6e8fe
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M mythplugins/mythmusic/mythmusic/visualize.cpp
    M mythplugins/mythmusic/mythmusic/visualize.h
    M mythtv/libs/libmythtv/visualisations/videovisualdefs.h

  Log Message:
  -----------
  tidy: Fix two "undefined binary operator result" warnings.

Tidy is warning that "the left operand of '<' is a garbage value" in
both instances of the visualization code.  Convert this C vector into
a C++ vector and initialize it as part of setting it to the right size.


  Commit: b109c6af4310e2019f6e850dfab29628dec69d1e
      https://github.com/MythTV/mythtv/commit/b109c6af4310e2019f6e850dfab29628dec69d1e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp

  Log Message:
  -----------
  tidy: Fix potential read of garbage data.


  Commit: 01a3268ad6154309f22e6122b98d97c669ad077b
      https://github.com/MythTV/mythtv/commit/01a3268ad6154309f22e6122b98d97c669ad077b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M mythtv/configure

  Log Message:
  -----------
  Bump the minimum GCC version to 8.x.


  Commit: a1e4f548b34e83e0760193f902d24d8d4567cbdb
      https://github.com/MythTV/mythtv/commit/a1e4f548b34e83e0760193f902d24d8d4567cbdb
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M mythplugins/mythmusic/mythmusic/searchview.cpp
    M mythtv/libs/libmyth/audio/volumebase.cpp
    M mythtv/libs/libmyth/mythcontext.cpp
    M mythtv/libs/libmythfreemheg/Groups.cpp
    M mythtv/libs/libmythfreemheg/ParseText.cpp
    M mythtv/libs/libmythprotoserver/requesthandler/fileserverhandler.cpp
    M mythtv/libs/libmythtv/recorders/audioinputalsa.cpp
    M mythtv/libs/libmythtv/visualisations/goom/goom_core.cpp
    M mythtv/libs/libmythupnp/httprequest.cpp
    M mythtv/libs/libmythupnp/websocket.cpp
    M mythtv/programs/mythbackend/mainserver.cpp
    M mythtv/programs/mythtranscode/external/replex/pes.cpp

  Log Message:
  -----------
  Convert to the C++17 standard fallthrough attribute.

The prior "clang::fallthrough" attribute was a pre-standard value that
was acceptable to both the GCC and Clang compilers.  Use the C++17
standard value now that MythTV requires a C++17 compiler.


  Commit: 74864b5fe4c69d3acb51f246e81303bbd25006c8
      https://github.com/MythTV/mythtv/commit/74864b5fe4c69d3acb51f246e81303bbd25006c8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M mythtv/configure

  Log Message:
  -----------
  Update the list of platforms that use the internal libbluray.

1) All supported versions of debian and ubuntu require the system
   version of libbluray.

2) RHEL8 will build the internal libbluray. RHEL9 should use the
   system version of libbluray.


Compare: https://github.com/MythTV/mythtv/compare/196b717dffbf...74864b5fe4c6


More information about the mythtv-commits mailing list