Fix a compiler warning.
2009-03-24T12:19:40Z!shadowm@wesnoth.org introduced an unused parameter, this seems the obvious fix. Shadow_Master please review this change.
This commit is contained in:
parent
26ecf0955a
commit
22917c1c60
1 changed files with 3 additions and 2 deletions
|
@ -70,12 +70,13 @@ music_track::music_track(const std::string& v_name) :
|
|||
}
|
||||
}
|
||||
|
||||
music_track::music_track(const std::string& v_name, unsigned int v_ms_before, unsigned int v_ms_after, bool v_once) :
|
||||
music_track::music_track(const std::string& v_name,
|
||||
unsigned int v_ms_before, unsigned int v_ms_after, bool v_once) :
|
||||
id_(v_name),
|
||||
file_path_(""),
|
||||
ms_before_(v_ms_before),
|
||||
ms_after_(v_ms_after),
|
||||
once_(false)
|
||||
once_(v_once)
|
||||
{
|
||||
if(id_.empty()) {
|
||||
ERR_AUDIO << "empty track filename specified\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue