Author: mordante
Date: Sun Mar 13 19:59:10 2011
New Revision: 48887
URL: http://svn.gna.org/viewcvs/wesnoth?rev=48887&view=rev
Log:
Remove an unused commented out function.
Modified:
trunk/src/gamestatus.cpp
trunk/src/gamestatus.hpp
Modified: trunk/src/gamestatus.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gamestatus.cpp?rev=48887&r1=48886&r2=48887&view=diff
==============================================================================
--- trunk/src/gamestatus.cpp (original)
+++ trunk/src/gamestatus.cpp Sun Mar 13 19:59:10 2011
@@ -139,19 +139,6 @@
return cfg;
}
-
-#ifdef __UNUSED__
-std::string generate_game_uuid()
-{
- struct timeval ts;
- std::stringstream uuid;
- gettimeofday(&ts, NULL);
-
- uuid << preferences::login() << "@" << ts.tv_sec << "." << ts.tv_usec;
-
- return uuid.str();
-}
-#endif
game_state::game_state() :
scoped_variables(),
Modified: trunk/src/gamestatus.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gamestatus.hpp?rev=48887&r1=48886&r2=48887&view=diff
==============================================================================
--- trunk/src/gamestatus.hpp (original)
+++ trunk/src/gamestatus.hpp Sun Mar 13 19:59:10 2011
@@ -184,8 +184,6 @@
};
-std::string generate_game_uuid();
-
void write_players(game_state& gamestate, config& cfg, const bool
use_snapshot=true, const bool merge_side = false);
void extract_summary_from_config(config& cfg_save, config& cfg_summary);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits