Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
03cfef10
Commit
03cfef10
authored
Dec 04, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/sidplay: make "songlength_file" local
parent
ff89b491
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
SidplayDecoderPlugin.cxx
src/decoder/plugins/SidplayDecoderPlugin.cxx
+1
-2
No files found.
src/decoder/plugins/SidplayDecoderPlugin.cxx
View file @
03cfef10
...
...
@@ -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
&
param
)
{
/* 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment