diff options
author | Max Kellermann <max@duempel.org> | 2014-12-04 21:28:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-07-29 14:55:28 +0200 |
commit | c01302682163de41a0d1b8f2a0600e0e6901bf54 (patch) | |
tree | 4c1c8b7fdc79b37a01e34937b61cf9730314caa1 | |
parent | 96b48a2404068f2d1a0e857a84ead327bbd13058 (diff) |
decoder/sidplay: make "songlength_file" local
-rw-r--r-- | src/decoder/plugins/SidplayDecoderPlugin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index cd8dc395a..76510a200 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -41,7 +41,6 @@ static constexpr Domain sidplay_domain("sidplay"); -static const char *songlength_file; static GKeyFile *songlength_database; static bool all_files_are_containers; @@ -90,7 +89,7 @@ static bool sidplay_init(const config_param ¶m) { /* read the songlengths database file */ - songlength_file = param.GetBlockValue("songlength_database"); + const char *songlength_file = param.GetBlockValue("songlength_database"); if (songlength_file != nullptr) songlength_database = sidplay_load_songlength_db(songlength_file); |