Author: brunowolff
Date: Wed Mar 19 17:32:07 2008
New Revision: 24842
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24842&view=rev
Log:
Silence gcc warning by adding parens around && clause near ||.
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=24842&r1=24841&r2=24842&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Wed Mar 19 17:32:07 2008
@@ -1681,7 +1681,7 @@
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())) {
+ 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";
log_scope("read cache");
try {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits