Skip to content

Commit

Permalink
tidy: Remove redundant initializers from constructor functions.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
linuxdude42 committed May 14, 2023
1 parent 196b717 commit 8c8d749
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mythtv/programs/mythbackend/servicesv2/v2envInfo.h
Expand Up @@ -37,10 +37,7 @@ class V2EnvInfo : public QObject
m_LCALL ( "" ),
m_LCCTYPE ( "" ),
m_HOME ( "" ),
m_MYTHCONFDIR ( "" ),
m_SchedulingEnabled (false),
m_IsDatabaseIgnored (false),
m_DBTimezoneSupport (false)
m_MYTHCONFDIR ( "" )
{
}

Expand Down

0 comments on commit 8c8d749

Please sign in to comment.