Author: brunowolff
Date: Wed Mar 19 17:17:26 2008
New Revision: 24841
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24841&view=rev
Log:
Silence gcc 4.3 warning by add braces to avoid ambiguous else.
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=24841&r1=24840&r2=24841&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Wed Mar 19 17:17:26 2008
@@ -1677,8 +1677,9 @@
}
}
- if(force_valid_cache_)
+ if(force_valid_cache_) {
LOG_CONFIG << "skipping cache validation
(forced)\n";
+ }
if(use_cache && file_exists(fname) &&
(force_valid_cache_ || file_create_time(fname) > data_tree_checksum().modified
&& dir_checksum == data_tree_checksum())) {
LOG_CONFIG << "found valid cache at '" << fname
<< "' using it\n";
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits