[mythtv-commits] [MythTV/mythtv] 91bd79: cppcheck: Pass parameter by const reference.

David Hampton noreply at github.com
Thu Oct 8 16:35:16 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 91bd79e352701bc6f5ccd683be31f4a3384c26a6
      https://github.com/MythTV/mythtv/commit/91bd79e352701bc6f5ccd683be31f4a3384c26a6
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelimporter.cpp
    M mythtv/programs/mythlcdserver/lcdprocclient.cpp

  Log Message:
  -----------
  cppcheck: Pass parameter by const reference.


  Commit: 8461255ac7900d843be9dc09e5495999d65a5345
      https://github.com/MythTV/mythtv/commit/8461255ac7900d843be9dc09e5495999d65a5345
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M mythtv/programs/mythfrontend/videoplayercommand.cpp

  Log Message:
  -----------
  cppcheck: Silence "return value not used" warning.


  Commit: 84634202d214108527f0cad577e14789c5e66a72
      https://github.com/MythTV/mythtv/commit/84634202d214108527f0cad577e14789c5e66a72
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/recordingquality.cpp

  Log Message:
  -----------
  cppcheck: Use std::accumulate in RecordingQuality::toStringXML.


  Commit: 8de48c675c85b980f81236c2a8f62a0355d2fa0b
      https://github.com/MythTV/mythtv/commit/8de48c675c85b980f81236c2a8f62a0355d2fa0b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/tvremoteutil.cpp

  Log Message:
  -----------
  cppcheck: Mark function args as const in tvremoteutil.cpp.


  Commit: 443460cfabf10f96ff8faf3aea303d27676b1eba
      https://github.com/MythTV/mythtv/commit/443460cfabf10f96ff8faf3aea303d27676b1eba
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

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

  Log Message:
  -----------
  cppcheck: Quiet "assigning pointer to integer" false positive.

m_crid is std::array<const uint8_t*,8> therefore
m_crid[] is a const uint8_t*, therefore
m_crid[][] is a uint8_t


Compare: https://github.com/MythTV/mythtv/compare/ac02229251dd...443460cfabf1


More information about the mythtv-commits mailing list