mail[Wesnoth-commits] r33728 - /trunk/src/game_preferences.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on March 16, 2009 - 19:09:
Author: mordante
Date: Mon Mar 16 19:09:00 2009
New Revision: 33728

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33728&view=rev
Log:
Fix some compiler warnings.

Modified:
    trunk/src/game_preferences.cpp

Modified: trunk/src/game_preferences.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_preferences.cpp?rev=33728&r1=33727&r2=33728&view=diff
==============================================================================
--- trunk/src/game_preferences.cpp (original)
+++ trunk/src/game_preferences.cpp Mon Mar 16 19:09:00 2009
@@ -154,7 +154,7 @@
        }
 }
 
-void initialize_friends() {
+static void initialize_friends() {
        if(!friends_initialized) {
                std::vector<std::string> names = 
utils::split(preferences::get("friends"));
                std::set<std::string> tmp(names.begin(), names.end());
@@ -169,7 +169,7 @@
        return friends;
 }
 
-void initialize_ignores() {
+static void initialize_ignores() {
        if(!ignores_initialized) {
                std::vector<std::string> names = 
utils::split(preferences::get("ignores"));
                std::set<std::string> tmp(names.begin(), names.end());




Related Messages


Powered by MHonArc, Updated Mon Mar 16 20:00:32 2009