Author: mordante
Date: Sat Jul 30 10:29:04 2011
New Revision: 50492
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50492&view=rev
Log:
Fix a gcc warning.
Modified:
trunk/src/tools/schema/sourceparser.cpp
Modified: trunk/src/tools/schema/sourceparser.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tools/schema/sourceparser.cpp?rev=50492&r1=50491&r2=50492&view=diff
==============================================================================
--- trunk/src/tools/schema/sourceparser.cpp (original)
+++ trunk/src/tools/schema/sourceparser.cpp Sat Jul 30 10:29:04 2011
@@ -150,7 +150,7 @@
return global_link;
}
-const std::string & get_allow_type(){
+static const std::string & get_allow_type(){
static std::string allow_type = valid + allow + property("type")
+property("name",sub(name_type))
+property("value",sub("\\^.+\\$"))
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits