Author: silene
Date: Sun Apr 12 16:13:29 2009
New Revision: 34782
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34782&view=rev
Log:
Removed unused iterators.
Modified:
trunk/src/unit_animation.cpp
trunk/src/unit_types.cpp
Modified: trunk/src/unit_animation.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_animation.cpp?rev=34782&r1=34781&r2=34782&view=diff
==============================================================================
--- trunk/src/unit_animation.cpp (original)
+++ trunk/src/unit_animation.cpp Sun Apr 12 16:13:29 2009
@@ -683,7 +683,6 @@
invalidated_(false)
{
config::const_child_itors range = cfg.child_range(frame_string+"frame");
- config::const_child_iterator itor;
starting_frame_time_=INT_MAX;
if(cfg[frame_string+"start_time"].empty() &&range.first !=
range.second) {
foreach (const config &frame, range) {
Modified: trunk/src/unit_types.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_types.cpp?rev=34782&r1=34781&r2=34782&view=diff
==============================================================================
--- trunk/src/unit_types.cpp (original)
+++ trunk/src/unit_types.cpp Sun Apr 12 16:13:29 2009
@@ -1303,7 +1303,6 @@
void unit_type_data::unit_type_map_wrapper::add_advancement(unit_type&
to_unit) const
{
- config::const_child_itors af;
const config& cfg = to_unit.get_cfg();
foreach (const config &af, cfg.child_range("advancefrom"))
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits