summaryrefslogtreecommitdiff
path: root/src/ReplayGainConfig.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-09 08:58:04 +0100
committerMax Kellermann <max@duempel.org>2013-01-09 12:25:14 +0100
commit6b4374583a11b5120492aa5698fec5f78385c9a5 (patch)
treed94f40ef1ea6df3b9f0ab235ac908cd939c8e9cd /src/ReplayGainConfig.cxx
parentf8a99a391ee03054e0250392a09c5992f9ce3a56 (diff)
ReplayGainCoinfig: initialize replay_gain_limit with default value
Diffstat (limited to 'src/ReplayGainConfig.cxx')
-rw-r--r--src/ReplayGainConfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ReplayGainConfig.cxx b/src/ReplayGainConfig.cxx
index ceb51c081..14bb41755 100644
--- a/src/ReplayGainConfig.cxx
+++ b/src/ReplayGainConfig.cxx
@@ -40,7 +40,7 @@ static constexpr bool DEFAULT_REPLAYGAIN_LIMIT = true;
float replay_gain_preamp = 1.0;
float replay_gain_missing_preamp = 1.0;
-bool replay_gain_limit;
+bool replay_gain_limit = DEFAULT_REPLAYGAIN_LIMIT;
const char *
replay_gain_get_mode_string(void)