CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <[EMAIL PROTECTED]> 04/11/28 11:46:58
Modified files:
src : reports.cpp reports.hpp
Log message:
Remove unused parameters.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/reports.cpp.diff?tr1=1.53&tr2=1.54&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/reports.hpp.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
Patches:
Index: wesnoth/src/reports.cpp
diff -u wesnoth/src/reports.cpp:1.53 wesnoth/src/reports.cpp:1.54
--- wesnoth/src/reports.cpp:1.53 Thu Nov 18 04:08:32 2004
+++ wesnoth/src/reports.cpp Sun Nov 28 11:46:57 2004
@@ -54,11 +54,10 @@
}
report generate_report(TYPE type, const gamemap& map, const unit_map& units,
- const std::vector<team>& teams,
- const team& current_team, int current_side, int playing_side,
- const gamemap::location& loc, const
gamemap::location& mouseover,
- const gamestatus& status, const
std::set<std::string>& observers,
- const std::string* format_string)
+ const std::vector<team>& teams, const team&
current_team,
+ int current_side, int playing_side,
+ const gamemap::location& loc, const gamemap::location&
mouseover,
+ const gamestatus& status, const std::set<std::string>&
observers)
{
unit_map::const_iterator u = units.end();
Index: wesnoth/src/reports.hpp
diff -u wesnoth/src/reports.hpp:1.10 wesnoth/src/reports.hpp:1.11
--- wesnoth/src/reports.hpp:1.10 Sun May 30 22:17:41 2004
+++ wesnoth/src/reports.hpp Sun Nov 28 11:46:57 2004
@@ -60,11 +60,10 @@
};
report generate_report(TYPE type, const gamemap& map, const unit_map&
units,
- const
std::vector<team>& teams,
- const team& current_team, int current_side, int
active_side,
- const gamemap::location&
loc, const gamemap::location& mouseover,
- const gamestatus& status,
const std::set<std::string>& observers,
- const std::string*
format_string=NULL);
+ const std::vector<team>& teams, const team&
current_team,
+ int current_side, int active_side,
+ const gamemap::location& loc, const
gamemap::location& mouseover,
+ const gamestatus& status, const
std::set<std::string>& observers);
// Set what will be shown for the report with type
// which_report. Note that this only works for some reports,
// i.e. reports that can not be deducted from the supplied arguments