[mythtv-commits] [MythTV/mythtv] 1b6087: cppcheck: Move assignments into initialization list.

David Hampton noreply at github.com
Sun Jan 1 21:20:49 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 1b6087df6c4464d07a0732e676c68c8d94b2ae26
      https://github.com/MythTV/mythtv/commit/1b6087df6c4464d07a0732e676c68c8d94b2ae26
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-01-01 (Sun, 01 Jan 2023)

  Changed paths:
    M mythplugins/mytharchive/mytharchive/logviewer.cpp
    M mythplugins/mytharchive/mytharchive/logviewer.h
    M mythplugins/mythzoneminder/mythzoneminder/zmconsole.cpp
    M mythtv/libs/libmyth/audio/eldutils.cpp
    M mythtv/libs/libmyth/audio/eldutils.h
    M mythtv/libs/libmythbase/netgrabbermanager.cpp
    M mythtv/libs/libmythbase/netgrabbermanager.h
    M mythtv/libs/libmythbase/rssmanager.cpp
    M mythtv/libs/libmythbase/rssparse.cpp
    M mythtv/libs/libmythbase/rssparse.h
    M mythtv/libs/libmythmetadata/metaio.cpp
    M mythtv/libs/libmythmetadata/metaio.h
    M mythtv/libs/libmythtv/frequencytables.cpp
    M mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp
    M mythtv/programs/mythavtest/mythavtest.cpp
    M mythtv/programs/mythfrontend/audiogeneralsettings.cpp
    M mythtv/programs/mythtranscode/mpeg2fix.cpp

  Log Message:
  -----------
  cppcheck: Move assignments into initialization list.

Clang-tidy recommended using std::move in a couple of the constructors.


  Commit: c4599f4b43cce178e5c11c421b32e5a640e2c7db
      https://github.com/MythTV/mythtv/commit/c4599f4b43cce178e5c11c421b32e5a640e2c7db
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-01-01 (Sun, 01 Jan 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mthread.h

  Log Message:
  -----------
  cppcheck: Suppress "missing return" warning in mthread.h.

Cppcheck thinks that the usleep function is a function with an
undeclared (therefore 'int') return type.  It is apparently unable to
parse the template definition to determine that the function's return
type is void.


  Commit: 86d729842e2cc9719688c10462eb664755a75abf
      https://github.com/MythTV/mythtv/commit/86d729842e2cc9719688c10462eb664755a75abf
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-01-01 (Sun, 01 Jan 2023)

  Changed paths:
    M mythtv/libs/libmythui/mythdialogbox.cpp

  Log Message:
  -----------
  cppcheck: Fix null pointer dereference warnings.


  Commit: b6ef37c1b1cf008f0ab476bb80da9fc268c0678e
      https://github.com/MythTV/mythtv/commit/b6ef37c1b1cf008f0ab476bb80da9fc268c0678e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-01-01 (Sun, 01 Jan 2023)

  Changed paths:
    M mythtv/programs/mythbackend/recordingextender.cpp
    M mythtv/programs/mythbackend/recordingextender.h
    M mythtv/programs/mythbackend/test/test_recordingextender/test_recordingextender.cpp
    M mythtv/programs/mythbackend/test/test_recordingextender/test_recordingextender.h

  Log Message:
  -----------
  Add ability to force year for recording extender testing purposes.


Compare: https://github.com/MythTV/mythtv/compare/7ee3a2909f82...b6ef37c1b1cf


More information about the mythtv-commits mailing list