Author: mordante
Date: Sun Mar 29 12:06:46 2009
New Revision: 34233
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34233&view=rev
Log:
Fix a compiler warning.
r34081 introduced an unused parameter, this seems the obvious fix.
Shadow_Master please review this change.
Modified:
trunk/src/sound_music_track.cpp
Modified: trunk/src/sound_music_track.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/sound_music_track.cpp?rev=34233&r1=34232&r2=34233&view=diff
==============================================================================
--- trunk/src/sound_music_track.cpp (original)
+++ trunk/src/sound_music_track.cpp Sun Mar 29 12:06:46 2009
@@ -70,12 +70,13 @@
}
}
-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";
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits