[mythtv-commits] [MythTV/mythtv] 64c78a: tidy: A couple of cleanups.

David Hampton noreply at github.com
Mon Jan 12 15:02:13 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 64c78ab701113f9c4db082eadc6de847b5af2349
      https://github.com/MythTV/mythtv/commit/64c78ab701113f9c4db082eadc6de847b5af2349
  Author: David Hampton <mythtv at love2code.net>
  Date:   2026-01-12 (Mon, 12 Jan 2026)

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

  Log Message:
  -----------
  tidy: A couple of cleanups.

1) Pull assignments out of "if" statement.
2) Put all variables on separate lines and initialize them.

https://clang.llvm.org/extra/clang-tidy/checks/bugprone/assignment-in-if-condition.html
https://clang.llvm.org/extra/clang-tidy/checks/readability/isolate-declaration.html
https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/init-variables.html



To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications


More information about the mythtv-commits mailing list